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
jme: Fix unmap error (Causing system freeze)
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
ks8842.c
diff --git
a/drivers/net/ks8842.c
b/drivers/net/ks8842.c
index 4d40626b3bfa989b7051a7ea5872faa06ba61601..fc12ac0d9f2e55012d202a44acfca9e8d432c6bd 100644
(file)
--- a/
drivers/net/ks8842.c
+++ b/
drivers/net/ks8842.c
@@
-661,7
+661,7
@@
static void ks8842_rx_frame(struct net_device *netdev,
/* check the status */
if ((status & RXSR_VALID) && !(status & RXSR_ERROR)) {
- struct sk_buff *skb = netdev_alloc_skb_ip_align(netdev, len);
+ struct sk_buff *skb = netdev_alloc_skb_ip_align(netdev, len
+ 3
);
if (skb) {