sched: Use __qdisc_drop instead of kfree_skb in sch_prio and sch_qfq
authorGao Feng <[email protected]>
Mon, 4 Sep 2017 06:21:12 +0000 (14:21 +0800)
committerDavid S. Miller <[email protected]>
Thu, 7 Sep 2017 04:20:07 +0000 (21:20 -0700)
commit39ad1297a2084e0724da73d9eda2ceb9573a5d6c
tree656f10ecd9c62b74561083fb8a2ef1f0a68fec9d
parent9a94b3a4bdfdb404f1846099e880c52e144f06c0
sched: Use __qdisc_drop instead of kfree_skb in sch_prio and sch_qfq

The commit 520ac30f4551 ("net_sched: drop packets after root qdisc lock
is released) made a big change of tc for performance. There are two points
left in sch_prio and sch_qfq which are not changed with that commit. Now
enhance them now with __qdisc_drop.

Signed-off-by: Gao Feng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_prio.c
net/sched/sch_qfq.c