diff options
Diffstat (limited to 'arch/um/drivers/net_kern.c')
-rw-r--r-- | arch/um/drivers/net_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c index 04e31f86c10a..859303730b2f 100644 --- a/arch/um/drivers/net_kern.c +++ b/arch/um/drivers/net_kern.c | |||
@@ -55,7 +55,7 @@ static int uml_net_rx(struct net_device *dev) | |||
55 | 55 | ||
56 | skb->dev = dev; | 56 | skb->dev = dev; |
57 | skb_put(skb, dev->mtu); | 57 | skb_put(skb, dev->mtu); |
58 | skb->mac.raw = skb->data; | 58 | skb_reset_mac_header(skb); |
59 | pkt_len = (*lp->read)(lp->fd, &skb, lp); | 59 | pkt_len = (*lp->read)(lp->fd, &skb, lp); |
60 | 60 | ||
61 | if (pkt_len > 0) { | 61 | if (pkt_len > 0) { |