patch-1.3.8 linux/net/ipv4/ip.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jul 6 18:29:02 1995
- Orig file:
v1.3.7/linux/net/ipv4/ip.c
- Orig date:
Fri Jul 7 08:54:57 1995
diff -u --recursive --new-file v1.3.7/linux/net/ipv4/ip.c linux/net/ipv4/ip.c
@@ -1660,7 +1660,7 @@
extern struct device loopback_dev;
struct device *dev=&loopback_dev;
int len=skb->len-old_dev->hard_header_len;
- struct sk_buff *newskb=dev_alloc_skb(len+dev->hard_header_len);
+ struct sk_buff *newskb=dev_alloc_skb(len+dev->hard_header_len+15);
if(newskb==NULL)
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this