[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: TCP push missing with writev()
   Date: Fri, 1 Dec 2000 00:15:45 +0000 (GMT)
From: Ben Mansell <>

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.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:49    [W:0.054 / U:1.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site