aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-03-07 00:21:20 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:24:00 -0400
commitb6d9bcb0697e60d5424e2f395fe950f0e22f4418 (patch)
tree1b918fe0a8507214cd6e0eecfb07d956d7e34c49 /net/sched/sch_api.c
parent8f05ce91c8b801af106611ad83b1d8d7429b9b46 (diff)
[NET] SCHED: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index ecc988af4a9a..4a927a5e1fa6 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1146,7 +1146,7 @@ reclassify:
1146 1146
1147 for ( ; tp; tp = tp->next) { 1147 for ( ; tp; tp = tp->next) {
1148 if ((tp->protocol == protocol || 1148 if ((tp->protocol == protocol ||
1149 tp->protocol == __constant_htons(ETH_P_ALL)) && 1149 tp->protocol == htons(ETH_P_ALL)) &&
1150 (err = tp->classify(skb, tp, res)) >= 0) { 1150 (err = tp->classify(skb, tp, res)) >= 0) {
1151#ifdef CONFIG_NET_CLS_ACT 1151#ifdef CONFIG_NET_CLS_ACT
1152 if ( TC_ACT_RECLASSIFY == err) { 1152 if ( TC_ACT_RECLASSIFY == err) {