diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 4581ece48bb24e1308854525306ce4a86f92c56e..32a9f80b5f19fd524258699102fae1feb651af53 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;