patch-2.4.22 linux-2.4.22/net/core/skbuff.c
Next file: linux-2.4.22/net/decnet/dn_table.c
Previous file: linux-2.4.22/net/core/rtnetlink.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/core/skbuff.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/core/skbuff.c linux-2.4.22/net/core/skbuff.c
@@ -231,6 +231,7 @@
skb->sk = NULL;
skb->stamp.tv_sec=0; /* No idea about time */
skb->dev = NULL;
+ skb->real_dev = NULL;
skb->dst = NULL;
memset(skb->cb, 0, sizeof(skb->cb));
skb->pkt_type = PACKET_HOST; /* Default type */
@@ -362,6 +363,7 @@
n->sk = NULL;
C(stamp);
C(dev);
+ C(real_dev);
C(h);
C(nh);
C(mac);
@@ -417,6 +419,7 @@
new->list=NULL;
new->sk=NULL;
new->dev=old->dev;
+ new->real_dev=old->real_dev;
new->priority=old->priority;
new->protocol=old->protocol;
new->dst=dst_clone(old->dst);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)