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