diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2018-09-24 19:22:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 06:17:36 +0300 |
commit | e368fdb61d8e7c67ac70791b23345b26d7bbc661 (patch) | |
tree | 18efb2d077e930a9b7829ed151f208e2345badf6 /net/sched/sch_sfb.c | |
parent | 9d7e82cec35c027756ec97e274f878251f271181 (diff) | |
download | linux-e368fdb61d8e7c67ac70791b23345b26d7bbc661.tar.xz |
net: sched: use Qdisc rcu API instead of relying on rtnl lock
As a preparation from removing rtnl lock dependency from rules update path,
use Qdisc rcu and reference counting capabilities instead of relying on
rtnl lock while working with Qdiscs. Create new tcf_block_release()
function, and use it to free resources taken by tcf_block_find().
Currently, this function only releases Qdisc and it is extended in next
patches in this series.
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 'net/sched/sch_sfb.c')
0 files changed, 0 insertions, 0 deletions