diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-03-25 20:13:04 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:23:55 -0700 |
commit | 724800d61b8bc574a364707b6a6c6a6252e8cdb4 (patch) | |
tree | 5da0b6eeaaa80e1fe550be7708a01ca466e212b9 /net | |
parent | aca3192cc60d2bf193c2252e45563c32e3117289 (diff) | |
download | kernel-crypto-724800d61b8bc574a364707b6a6c6a6252e8cdb4.tar.gz kernel-crypto-724800d61b8bc574a364707b6a6c6a6252e8cdb4.tar.xz kernel-crypto-724800d61b8bc574a364707b6a6c6a6252e8cdb4.zip |
[NET] CORE: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 4581ece48bb..32a9f80b5f1 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -443,7 +443,7 @@ int __netpoll_rx(struct sk_buff *skb) goto out; /* check if netpoll clients need ARP */ - if (skb->protocol == __constant_htons(ETH_P_ARP) && + if (skb->protocol == htons(ETH_P_ARP) && atomic_read(&trapped)) { skb_queue_tail(&npi->arp_tx, skb); return 1; |