lkml.org 
[lkml]   [2003]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectstray 2.4 tcp fix.
Sent to davem and netdev already, and was met with silence..

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-03-21 12:53:31.000000000 +0000
+++ linux-2.5/net/ipv4/tcp.c 2003-03-21 13:45:21.000000000 +0000
@@ -1189,7 +1189,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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.029 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site