commit | d63ddcec20f59e78212aeaf5144e9652c0097211 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Wed May 21 01:34:30 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu May 22 06:34:15 2008 -0400 |
tree | 2e9176d822eb89f14131ada84ca2660d86716ce6 | |
parent | b47385bd4f67481a7dbfcf1b4b82e9a67ecb846c [diff] [blame] |
misc drivers/net endianness noise Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 9c2394d..6e4c80d 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c
@@ -2135,7 +2135,7 @@ return -1; } - if (skb->protocol == ntohs(ETH_P_IP)) { + if (skb->protocol == htons(ETH_P_IP)) { struct iphdr *iph = ip_hdr(skb); real_len = (((unsigned char *)iph - skb->data) +