mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[NET] SCHED: 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
8f05ce91c8
commit
b6d9bcb069
2 changed files with 2 additions and 2 deletions
|
@ -1146,7 +1146,7 @@ reclassify:
|
|||
|
||||
for ( ; tp; tp = tp->next) {
|
||||
if ((tp->protocol == protocol ||
|
||||
tp->protocol == __constant_htons(ETH_P_ALL)) &&
|
||||
tp->protocol == htons(ETH_P_ALL)) &&
|
||||
(err = tp->classify(skb, tp, res)) >= 0) {
|
||||
#ifdef CONFIG_NET_CLS_ACT
|
||||
if ( TC_ACT_RECLASSIFY == err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue