diff --git a/net/core/dev.c b/net/core/dev.c
index fc1e289397f5895f3d2191ee78c9b450cc33e5cf..18e9730cc4be13a8320f4bfdc108a50b57106f82 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1629,7 +1629,6 @@ int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)
 		return NET_RX_DROP;
 	}
 	skb->skb_iif = 0;
-	skb->dev = dev;
 	skb_dst_drop(skb);
 	skb->tstamp.tv64 = 0;
 	skb->pkt_type = PACKET_HOST;