projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
siimage: fix wrong ->swdma_mask
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
slip.c
diff --git
a/drivers/net/slip.c
b/drivers/net/slip.c
index 2f4b1de7a2b403dba05d2decc326ae4a9d83ad40..65bd20fac8209fa7cf9d6e2973593d3a9fcaeace 100644
(file)
--- a/
drivers/net/slip.c
+++ b/
drivers/net/slip.c
@@
-363,7
+363,7
@@
sl_bump(struct slip *sl)
}
skb->dev = sl->dev;
memcpy(skb_put(skb,count), sl->rbuff, count);
- skb
->mac.raw=skb->data
;
+ skb
_reset_mac_header(skb)
;
skb->protocol=htons(ETH_P_IP);
netif_rx(skb);
sl->dev->last_rx = jiffies;