Re: [2.1.91-pre1] tcp wierdness and lockup

David S. Miller (davem@dm.cobaltmicro.com)
Wed, 25 Mar 1998 12:57:30 -0800


Fixed yesterday in my tree, patch below. Also note if they disallow
ICMP this could case lossage with path mtu discovery, if things don't
work with this patch applied, do:

echo "1" >/proc/sys/net/ipv4/ip_no_pmtu_disc

and see if that helps, it's a real shame how many broken sites out
there prevent mtu discovery from working, ho hum.... Here's the
patch:

--- linux/net/core/skbuff.c 1998/03/22 23:47:44 1.46
+++ linux/net/core/skbuff.c 1998/03/24 21:07:56 1.47
@@ -300,7 +300,7 @@
* Allocate the copy buffer
*/

- n=alloc_skb(skb->truesize+newheadroom-headroom-sizeof(struct sk_buff), GFP_ATOMIC);
+ n=alloc_skb(skb->truesize+newheadroom-headroom, GFP_ATOMIC);
if(n==NULL)
return NULL;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu