diff options
author | 2018-11-07 17:33:40 -0800 | |
---|---|---|
committer | 2018-11-08 16:19:48 -0800 | |
commit | 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 (patch) | |
tree | 438bdeb87c63b301271e3666d4beeba899d6fa0b /include/linux/udp.h | |
parent | net: sched: red: delay destroying child qdisc on replace (diff) | |
download | wireguard-linux-7b8e0b6e659983154c8d7e756cdb833d89a3d4d7.tar.xz wireguard-linux-7b8e0b6e659983154c8d7e756cdb833d89a3d4d7.zip |
net: sched: prio: delay destroying child qdiscs on change
Move destroying of the old child qdiscs outside of the sch_tree_lock()
section. This should improve the software qdisc replace but is even
more important for offloads. Calling offloads under a spin lock is
best avoided, and child's destroy would be called under sch_tree_lock().
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/udp.h')
0 files changed, 0 insertions, 0 deletions