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

Bryan Drewery bdrewery at FreeBSD.org
Thu Jan 7 23:22:15 UTC 2016


On 1/7/2016 3:18 PM, Gleb Smirnoff wrote:
> 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

Two spelling errors here.

> +		 * 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
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20160107/075915e5/attachment-0001.sig>


More information about the svn-src-projects mailing list