aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/netpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index 4581ece48bb2..32a9f80b5f19 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -443,7 +443,7 @@ int __netpoll_rx(struct sk_buff *skb)
443 goto out; 443 goto out;
444 444
445 /* check if netpoll clients need ARP */ 445 /* check if netpoll clients need ARP */
446 if (skb->protocol == __constant_htons(ETH_P_ARP) && 446 if (skb->protocol == htons(ETH_P_ARP) &&
447 atomic_read(&trapped)) { 447 atomic_read(&trapped)) {
448 skb_queue_tail(&npi->arp_tx, skb); 448 skb_queue_tail(&npi->arp_tx, skb);
449 return 1; 449 return 1;