diff options
Diffstat (limited to 'drivers/net/ioc3-eth.c')
-rw-r--r-- | drivers/net/ioc3-eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index c5593f4665a4..e3cfefab670c 100644 --- 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) | |||
530 | * case where the checksum is right the higher layers will still | 530 | * case where the checksum is right the higher layers will still |
531 | * drop the packet as appropriate. | 531 | * drop the packet as appropriate. |
532 | */ | 532 | */ |
533 | if (eh->h_proto != ntohs(ETH_P_IP)) | 533 | if (eh->h_proto != htons(ETH_P_IP)) |
534 | return; | 534 | return; |
535 | 535 | ||
536 | ih = (struct iphdr *) ((char *)eh + ETH_HLEN); | 536 | ih = (struct iphdr *) ((char *)eh + ETH_HLEN); |