| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | missing forward port. |
| From: | davej@xxxxxxxxxxxxxxxxx |
| Date: | Tue, 11 Feb 2003 03:59:56 GMT |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | liquido urgente por viaje, Alejandro - No responder aqui |
|---|---|
| Next by Date: | NOARP and 2.4 kernels, Martin Hamilton |
| Previous by Thread: | liquido urgente por viaje, Alejandro - No responder aqui |
| Next by Thread: | NOARP and 2.4 kernels, Martin Hamilton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |