projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca3192
)
[NET] CORE: Use htons() where appropriate.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Mon, 26 Mar 2007 03:13:04 +0000
(20:13 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:55 +0000
(22:23 -0700)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/netpoll.c
b/net/core/netpoll.c
index 4581ece48bb24e1308854525306ce4a86f92c56e..32a9f80b5f19fd524258699102fae1feb651af53 100644
(file)
--- 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;