summaryrefslogtreecommitdiff
path: root/include/net/ax25.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-11 10:55:35 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-12 13:41:32 -0500
commit165f01354c52b6ce175b2c67f771c153f0563f41 (patch)
tree2a967e039da5631027c1fbde1834356c5dbd1306 /include/net/ax25.h
parent2cbfab07c69657a5a60323f86143f4ce8a829fa9 (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 'include/net/ax25.h')
0 files changed, 0 insertions, 0 deletions