patch-2.4.22 linux-2.4.22/net/core/dev.c

Next file: linux-2.4.22/net/core/dst.c
Previous file: linux-2.4.22/net/bridge/br_stp_bpdu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/core/dev.c linux-2.4.22/net/core/dev.c
@@ -1372,8 +1372,10 @@
 {
 	struct net_device *dev = skb->dev;
 
-	if (dev->master)
+	if (dev->master) {
+		skb->real_dev = skb->dev;
 		skb->dev = dev->master;
+	}
 }
 
 static void net_tx_action(struct softirq_action *h)

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