diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-11 10:55:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 13:41:32 -0500 |
commit | 2cbfab07c69657a5a60323f86143f4ce8a829fa9 (patch) | |
tree | 0c7fcdb0554f25b1cfe3e1afdfc7b5620978b561 /Documentation/networking/x25.txt | |
parent | 91052fa1c657d83d570a3ab0ca0ddf87713b5cc8 (diff) |
net: sched: refactor tc_ctl_chain() to use block->lock
In order to remove dependency on rtnl lock, modify chain API to use
block->lock to protect chain from concurrent modification. Rearrange
tc_ctl_chain() code to call tcf_chain_hold() while holding block->lock to
prevent concurrent chain removal.
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 'Documentation/networking/x25.txt')
0 files changed, 0 insertions, 0 deletions