Messages in this thread |  | | Date | Thu, 30 Nov 2000 16:08:30 -0800 | From | "David S. Miller" <> | Subject | Re: TCP push missing with writev() |
| |
Date: Fri, 1 Dec 2000 00:15:45 +0000 (GMT) From: Ben Mansell <ben@zeus.com>
Paranoia check: can this bug occur with writev() and other combinations of sizes, or is it only when there is a 0-length buffer in there?
Only the 0-length buffer at the end of the iovec can trigger this problem. The PSH bit check during writes is basically:
if (we are emptying the current iovec entry && no more iovecs to process) set PSH bit
Zero length iovec entries do not even make it to this test since the zero length makes the loop this test is within never execute.
Later, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |