]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net_sched: sch_codel: defer skb freeing in codel_change()
authorEric Dumazet <edumazet@google.com>
Tue, 14 Jun 2016 03:21:52 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:08:35 +0000 (14:08 -0700)
commitb3d7e2b29b226c986cbd4efcaf43ab3ff90e6fdb
tree9d1ccc8433d0e937b9ab0270241d02dfdf9ed934
parentf9aed311b682ca933ca78821cce3e4f1d69d4f56
net_sched: sch_codel: defer skb freeing in codel_change()

codel_change() can use rtnl_qdisc_drop()
to defer expensive skb freeing after locks are released.

codel_reset() already has support for deferred skb freeing
because it uses qdisc_reset_queue()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_codel.c