[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.
Showing
Please register or sign in to comment