Date: Tue, 17 Nov 2009 11:43:53 +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: <200911171144.nAHBiHkW095874@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-11-17 11:43:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern uipc_syscalls.c Log: SVN rev 199356 on 2009-11-17 11:43:53Z 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.284.2.3 +1 -9 src/sys/kern/uipc_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911171144.nAHBiHkW095874>