aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
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 76f402e05bd6..243b7d169d61 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1807,7 +1807,7 @@ done:
1807int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp, 1807int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp,
1808 struct tcf_result *res) 1808 struct tcf_result *res)
1809{ 1809{
1810 __be16 protocol = skb->protocol; 1810 __be16 protocol = tc_skb_protocol(skb);
1811 int err; 1811 int err;
1812 1812
1813 for (; tp; tp = rcu_dereference_bh(tp->next)) { 1813 for (; tp; tp = rcu_dereference_bh(tp->next)) {