diff options
Diffstat (limited to 'arch/um/drivers/slirp_kern.c')
-rw-r--r-- | arch/um/drivers/slirp_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index b3ed8fb874ab..0a0324a6d290 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c | |||
@@ -53,7 +53,7 @@ static unsigned short slirp_protocol(struct sk_buff *skbuff) | |||
53 | static int slirp_read(int fd, struct sk_buff **skb, | 53 | static int slirp_read(int fd, struct sk_buff **skb, |
54 | struct uml_net_private *lp) | 54 | struct uml_net_private *lp) |
55 | { | 55 | { |
56 | return(slirp_user_read(fd, (*skb)->mac.raw, (*skb)->dev->mtu, | 56 | return(slirp_user_read(fd, skb_mac_header(*skb), (*skb)->dev->mtu, |
57 | (struct slirp_data *) &lp->user)); | 57 | (struct slirp_data *) &lp->user)); |
58 | } | 58 | } |
59 | 59 | ||