aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/platform-iss/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/platform-iss/network.c')
-rw-r--r--arch/xtensa/platform-iss/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platform-iss/network.c b/arch/xtensa/platform-iss/network.c
index 8ebfc876122..ab05bff4010 100644
--- a/arch/xtensa/platform-iss/network.c
+++ b/arch/xtensa/platform-iss/network.c
@@ -386,7 +386,7 @@ static int iss_net_rx(struct net_device *dev)
/* Setup skb */
skb->dev = dev;
- skb->mac.raw = skb->data;
+ skb_reset_mac_header(skb);
pkt_len = lp->tp.read(lp, &skb);
skb_put(skb, pkt_len);