aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethernet/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethernet/eth.c')
-rw-r--r--net/ethernet/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index 01ecbe42b1e7..0ac2524f3b68 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -157,7 +157,7 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)
157 unsigned char *rawp; 157 unsigned char *rawp;
158 158
159 skb->dev = dev; 159 skb->dev = dev;
160 skb->mac.raw = skb->data; 160 skb_reset_mac_header(skb);
161 skb_pull(skb, ETH_HLEN); 161 skb_pull(skb, ETH_HLEN);
162 eth = eth_hdr(skb); 162 eth = eth_hdr(skb);
163 163