summaryrefslogtreecommitdiff
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-11 11:55:35 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-12 21:41:32 +0300
commit165f01354c52b6ce175b2c67f771c153f0563f41 (patch)
tree2a967e039da5631027c1fbde1834356c5dbd1306 /include/linux/moduleparam.h
parent2cbfab07c69657a5a60323f86143f4ce8a829fa9 (diff)
downloadlinux-165f01354c52b6ce175b2c67f771c153f0563f41.tar.xz
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 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions