diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c index 1c281cc81f57789b787c77622cc2c026414f9c9d..5e0d55ac9c5d95410be9d472ca7041ed69da0d25 100644 --- a/net/sched/sch_atm.c +++ b/net/sched/sch_atm.c @@ -396,10 +396,13 @@ static int atm_tc_enqueue(struct sk_buff *skb, struct Qdisc *sch, result = tcf_classify(skb, fl, &res, true); if (result < 0) continue; + if (result == TC_ACT_SHOT) + goto done; + flow = (struct atm_flow_data *)res.class; if (!flow) flow = lookup_flow(sch, res.classid); - goto done; + goto drop; } } flow = NULL;