From owner-svn-src-projects@freebsd.org Thu Jan 7 23:18:50 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6DB7A66800 for ; Thu, 7 Jan 2016 23:18:50 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77EFE1085; Thu, 7 Jan 2016 23:18:50 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u07NInb6088800; Thu, 7 Jan 2016 23:18:49 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u07NInqo088799; Thu, 7 Jan 2016 23:18:49 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201601072318.u07NInqo088799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Thu, 7 Jan 2016 23:18:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r293393 - projects/sendfile/sys/kern X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 23:18:50 -0000 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