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
/
sb1000.c
diff --git
a/drivers/net/sb1000.c
b/drivers/net/sb1000.c
index b9fa4fbb13987fb32beb2b0cfffc463dbfdc4e12..1de3eec1a792f13312cf809c0b6ab528c3103ba8 100644
(file)
--- a/
drivers/net/sb1000.c
+++ b/
drivers/net/sb1000.c
@@
-834,7
+834,7
@@
printk("cm0: IP identification: %02x%02x fragment offset: %02x%02x\n", buffer[3
goto dropped_frame;
}
skb->dev = dev;
- skb
->mac.raw = skb->data
;
+ skb
_reset_mac_header(skb)
;
skb->protocol = (unsigned short) buffer[NewDatagramHeaderSkip + 16];
insw(ioaddr, skb_put(skb, NewDatagramDataSize),
NewDatagramDataSize / 2);