diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-11 10:55:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 13:41:32 -0500 |
commit | 165f01354c52b6ce175b2c67f771c153f0563f41 (patch) | |
tree | 2a967e039da5631027c1fbde1834356c5dbd1306 /kernel/irq_work.c | |
parent | 2cbfab07c69657a5a60323f86143f4ce8a829fa9 (diff) |
net: sched: protect block->chain0 with block->lock
In order to remove dependency on rtnl lock, use block->lock to protect
chain0 struct from concurrent modification. Rearrange code in chain0
callback add and del functions to only access chain0 when block->lock is
held.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions