svn commit: r293393 - projects/sendfile/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Thu Jan 7 23:18:50 UTC 2016


Author: glebius
Date: Thu Jan  7 23:18:49 2016
New Revision: 293393
URL: https://svnweb.freebsd.org/changeset/base/293393

Log:
  Fix comment. We don't use sockbuf method here, but protocol.

Modified:
  projects/sendfile/sys/kern/uipc_syscalls.c

Modified: projects/sendfile/sys/kern/uipc_syscalls.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_syscalls.c	Thu Jan  7 23:13:20 2016	(r293392)
+++ projects/sendfile/sys/kern/uipc_syscalls.c	Thu Jan  7 23:18:49 2016	(r293393)
@@ -2106,9 +2106,9 @@ sf_iodone(void *arg, vm_page_t *pg, int 
 		/*
 		 * I/O operation failed.  The state of data in the socket
 		 * is now inconsistent, and all what we can do is to tear
-		 * it down. sbflush() would free all ready mbufs and detach
-		 * not ready. We will free the mbufs corresponding to this
-		 * I/O manually.
+		 * it down. Protocl abort metho would tear down protocol
+		 * state, free all ready mbufs and detach not ready ones.
+		 * We will free the mbufs corresponding to this I/O manually.
 		 *
 		 * The socket would be marked with EIO and made available
 		 * for read, so that application receives EIO on next


More information about the svn-src-projects mailing list