diff options
| author | 2019-02-11 10:55:34 +0200 | |
|---|---|---|
| committer | 2019-02-12 13:41:32 -0500 | |
| commit | 2cbfab07c69657a5a60323f86143f4ce8a829fa9 (patch) | |
| tree | 0c7fcdb0554f25b1cfe3e1afdfc7b5620978b561 /lib/debugobjects.c | |
| parent | net: sched: protect chain->explicitly_created with block->lock (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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
