Date: Thu, 7 Jan 2016 23:18:49 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r293393 - projects/sendfile/sys/kern Message-ID: <201601072318.u07NInqo088799@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601072318.u07NInqo088799>