sched: sfq: drop packets after root qdisc lock is released
authorGao Feng <gfree.wind@vip.163.com>
Sat, 26 Aug 2017 14:58:58 +0000 (22:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:51:42 +0000 (15:51 -0700)
commitf9ab7425b312f8a41339389e83b238c3242e8429
treee8452872064260f7d098625e12bdeb63936838cb
parentf7423eea52770935e3c36fafe511ef9aa5e0fc6d
sched: sfq: drop packets after root qdisc lock is released

The commit 520ac30f4551 ("net_sched: drop packets after root qdisc lock
is released) made a big change of tc for performance. But there are
some points which are not changed in SFQ enqueue operation.
1. Fail to find the SFQ hash slot;
2. When the queue is full;

Now use qdisc_drop instead free skb directly.

Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c