Date: Tue, 17 Nov 2009 12:09:21 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <200911171209.nAHC9T9u098682@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-11-17 12:09:21 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern uipc_syscalls.c
Log:
SVN rev 199358 on 2009-11-17 12:09:21Z by kib
MFC r198853:
If socket buffer space appears to be lower then sum of count of
already prepared bytes and next portion of transfer, inner loop of
kern_sendfile() aborts, not preparing next mbuf for socket buffer, and
not modifying any outer loop invariants. The thread loops in the outer
loop forever.
Instead of breaking from inner loop, prepare only bytes that fit into
the socket buffer space.
Revision Changes Path
1.259.2.8 +1 -9 src/sys/kern/uipc_syscalls.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911171209.nAHC9T9u098682>
