svn commit: r280855 - projects/sendfile/sys/kern
Gleb Smirnoff
glebius at FreeBSD.org
Mon Mar 30 15:29:07 UTC 2015
Author: glebius
Date: Mon Mar 30 15:29:06 2015
New Revision: 280855
URL: https://svnweb.freebsd.org/changeset/base/280855
Log:
This shouldn't have leaked into svn.
Modified:
projects/sendfile/sys/kern/uipc_syscalls.c
Modified: projects/sendfile/sys/kern/uipc_syscalls.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_syscalls.c Mon Mar 30 15:24:23 2015 (r280854)
+++ projects/sendfile/sys/kern/uipc_syscalls.c Mon Mar 30 15:29:06 2015 (r280855)
@@ -2576,7 +2576,8 @@ retry_space:
* send (rem > space), or if we have readahead
* configured (rhpages > 0).
*/
- if ((i == npages - 1 &&
+ if ((flags & SF_NOCACHE) == 0 ||
+ (i == npages - 1 &&
((off + space) & PAGE_MASK) &&
(rem > space || rhpages > 0)))
m0->m_ext.ext_type = EXT_SFBUF;
More information about the svn-src-projects
mailing list