Re: tcp writev() bug in 2.1.x

David S. Miller (
Fri, 6 Mar 1998 21:09:11 -0800

Date: Thu, 5 Mar 1998 22:35:37 -0800 (PST)
From: Dean Gaudet <>

Eric Schenk fixed this bug in 2.0.31. It's still in 2.1.x. The
attached test-writev.c program will send three 100byte buffers
using writev() and with a 2.1.x kernel (or 2.0.x x<31) this will
cause three segments to be put on the wire.

Thanks for reminding us about this. I'm currently on the TCP war-path
for 2.1.x, and after I fix the TCP bandwidth bug I'll look into this.

(for those who want to see the current state of affairs in my TCP
tree, checkout a copy the vger CVS kernel sources, ftp to vger
and grab /pub/linux/README.CVS and do what it says. The tree is
also available via and there also you can
join a mailing list which gets messages when changes are made to
the vger CVS sources)

David S. Miller

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to