diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-05-21 02:34:30 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 12:34:15 +0200 |
commit | d63ddcec20f59e78212aeaf5144e9652c0097211 (patch) | |
tree | 2e9176d822eb89f14131ada84ca2660d86716ce6 /drivers/net/atlx | |
parent | cxgb3 - Add LRO support (diff) | |
download | linux-d63ddcec20f59e78212aeaf5144e9652c0097211.tar.xz linux-d63ddcec20f59e78212aeaf5144e9652c0097211.zip |
misc drivers/net endianness noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 9c2394d49428..6e4c80d41b08 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -2135,7 +2135,7 @@ static int atl1_tso(struct atl1_adapter *adapter, struct sk_buff *skb, 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) + |