summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-11-07 17:33:39 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-08 16:19:48 -0800
commit0c8d13ac96070000da33f394f45e9c19638483c5 (patch)
tree4cbfc90c4d5601a3fa76b2ab46fbeb36386c5f85 /crypto/ansi_cprng.c
parent9da93ece59f4a3e1544dfa2aa53e91f9e724abc6 (diff)
net: sched: red: delay destroying child qdisc on replace
Move destroying of the old child qdisc outside of the sch_tree_lock() section. This should improve the software qdisc replace but is even more important for offloads. Firstly calling offloads under a spin lock is best avoided. Secondly the destroy event of existing child would have been sent to the offload device before the replace, causing confusion. 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 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions