mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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:
parent
aca3192cc6
commit
724800d61b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue