patch-2.4.22 linux-2.4.22/include/linux/if_vlan.h

Next file: linux-2.4.22/include/linux/igmp.h
Previous file: linux-2.4.22/include/linux/if_ether.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/if_vlan.h linux-2.4.22/include/linux/if_vlan.h
@@ -148,6 +148,7 @@
 {
 	struct net_device_stats *stats;
 
+	skb->real_dev = skb->dev;
 	skb->dev = grp->vlan_devices[vlan_tag & VLAN_VID_MASK];
 	if (skb->dev == NULL) {
 		kfree_skb(skb);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)