patch-1.3.30 linux/net/core/skbuff.c
Next file: linux/net/core/sock.c
Previous file: linux/net/ax25/ax25_timer.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Sep 27 13:07:33 1995
- Orig file:
v1.3.29/linux/net/core/skbuff.c
- Orig date:
Tue Aug 15 20:39:09 1995
diff -u --recursive --new-file v1.3.29/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -545,6 +545,7 @@
skb->stamp.tv_sec=0; /* No idea about time */
skb->localroute = 0;
skb->ip_summed = 0;
+ memset(skb->proto_priv, 0, sizeof(skb->proto_priv));
save_flags(flags);
cli();
net_skbcount++;
@@ -619,6 +620,7 @@
n->daddr=skb->daddr;
n->raddr=skb->raddr;
n->acked=skb->acked;
+ memcpy(n->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
n->used=skb->used;
n->free=1;
n->arp=skb->arp;
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