projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
021fa22
)
pasemi_mac: Fix RX checksum flags
author
Olof Johansson
<olof@lixom.net>
Wed, 22 Aug 2007 14:13:24 +0000
(09:13 -0500)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:59 +0000
(16:50 -0700)
RX side flag to use is CHECKSUM_UNNECESSARY, not CHECKSUM_COMPLETE.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/pasemi_mac.c
b/drivers/net/pasemi_mac.c
index dc710a0826b2eabeccfa973c26f738f45427f16e..0bfdd79de6cf0a1f18cd005c3f16694a06bc6afc 100644
(file)
--- a/
drivers/net/pasemi_mac.c
+++ b/
drivers/net/pasemi_mac.c
@@
-524,7
+524,7
@@
static int pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit)
skb_put(skb, len);
if (likely((macrx & XCT_MACRX_HTY_M) == XCT_MACRX_HTY_IPV4_OK)) {
- skb->ip_summed = CHECKSUM_
COMPLETE
;
+ skb->ip_summed = CHECKSUM_
UNNECESSARY
;
skb->csum = (macrx & XCT_MACRX_CSUM_M) >>
XCT_MACRX_CSUM_S;
} else