]> git.hungrycats.org Git - linux/commit
[TCP]: Forward port of 2.4.x bugfix, noticed as missing by davej@codemonkey.org.uk.
authorDavid S. Miller <davem@nuts.ninka.net>
Mon, 24 Mar 2003 14:47:20 +0000 (06:47 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Mon, 24 Mar 2003 14:47:20 +0000 (06:47 -0800)
commita3b4ba8e94e689f82c37549d579a51416f716969
treec2a9daa29893bf0cf8fb92da1caaaa567dc0ef3a
parent7d34d21437ddfe49235ccfb63bfc358c2576b3af
[TCP]: Forward port of 2.4.x bugfix, noticed as missing by davej@codemonkey.org.uk.

In tcp_sendmsg, make sure we jump to the out label
when seglen is decremented to zero and no more iovecs remain.
This matches the do_tcp_sendpages logic and makes sure that
PSH is set correctly at the end of a write even if the write length
equals the current mss.
net/ipv4/tcp.c