]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Use __qdisc_drop instead of kfree_skb in sch_prio and sch_qfq
authorGao Feng <gfree.wind@vip.163.com>
Mon, 4 Sep 2017 06:21:12 +0000 (14:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Sep 2017 04:20:07 +0000 (21:20 -0700)
commit81b9ab08736649d4c3cf102af4cc486a4485584b
tree656f10ecd9c62b74561083fb8a2ef1f0a68fec9d
parent3c13cd24081b24b3a3fff2742ed10e1e93f70249
sched: Use __qdisc_drop instead of kfree_skb in sch_prio and sch_qfq

The commit c54f3679557b ("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 <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_prio.c
net/sched/sch_qfq.c