patch-pre2.0.11 linux/drivers/net/new_tunnel.c
Next file: linux/drivers/scsi/Config.in
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Jun  3 12:42:41 1996
-  Orig file: 
pre2.0.10/linux/drivers/net/new_tunnel.c
-  Orig date: 
Tue May 28 08:09:56 1996
diff -u --recursive --new-file pre2.0.10/linux/drivers/net/new_tunnel.c linux/drivers/net/new_tunnel.c
@@ -261,6 +261,7 @@
 		 * and new_skb->ip_hdr is the IP header of the old packet.
 		 */
 		new_skb->ip_hdr = (struct iphdr *) skb_put(new_skb, skb->len);
+		new_skb->dev = skb->dev;
 		memcpy(new_skb->ip_hdr, skb->data, skb->len);
 		memset(new_skb->proto_priv, 0, sizeof(skb->proto_priv));
 
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