missing forward port.
flat view
From: <hidden>
Date: 2003-02-11 03:59:56
From: <hidden>
Date: 2003-02-11 03:59:56
This patch showed up in 2.4 a while back, and
still isn't in 2.5.
Dave
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/ipv4/tcp.c linux-2.5/net/ipv4/tcp.c--- bk-linus/net/ipv4/tcp.c 2003-01-08 10:49:35.000000000 -0100
+++ linux-2.5/net/ipv4/tcp.c 2003-01-17 00:59:34.000000000 -0100@@ -1192,7 +1192,8 @@ new_segment: from += copy; copied += copy; - seglen -= copy; + if ((seglen -= copy) == 0 && iovlen == 0) + goto out; if (skb->len != mss_now || (flags & MSG_OOB)) continue;