[NET] CORE: Use htons() where appropriate.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
YOSHIFUJI Hideaki 2007-03-25 20:13:04 -07:00 committed by David S. Miller
parent aca3192cc6
commit 724800d61b

View File

@ -443,7 +443,7 @@ int __netpoll_rx(struct sk_buff *skb)
goto out; goto out;
/* check if netpoll clients need ARP */ /* check if netpoll clients need ARP */
if (skb->protocol == __constant_htons(ETH_P_ARP) && if (skb->protocol == htons(ETH_P_ARP) &&
atomic_read(&trapped)) { atomic_read(&trapped)) {
skb_queue_tail(&npi->arp_tx, skb); skb_queue_tail(&npi->arp_tx, skb);
return 1; return 1;