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
Merge commit 'v2.6.31-rc3'; commit 'tip/oprofile' into oprofile/core
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
ioc3-eth.c
diff --git
a/drivers/net/ioc3-eth.c
b/drivers/net/ioc3-eth.c
index c5593f4665a4ea6ffae45c793f4869a5f4c57ec5..e3cfefab670c8b4fb3f4eaf5cc51d243466639a0 100644
(file)
--- a/
drivers/net/ioc3-eth.c
+++ b/
drivers/net/ioc3-eth.c
@@
-530,7
+530,7
@@
static void ioc3_tcpudp_checksum(struct sk_buff *skb, uint32_t hwsum, int len)
* case where the checksum is right the higher layers will still
* drop the packet as appropriate.
*/
- if (eh->h_proto !=
ntoh
s(ETH_P_IP))
+ if (eh->h_proto !=
hton
s(ETH_P_IP))
return;
ih = (struct iphdr *) ((char *)eh + ETH_HLEN);