aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-24 19:22:53 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-25 20:17:36 -0700
commite368fdb61d8e7c67ac70791b23345b26d7bbc661 (patch)
tree18efb2d077e930a9b7829ed151f208e2345badf6 /include/net/sch_generic.h
parentnet: sched: add helper function to take reference to Qdisc (diff)
downloadlinux-dev-e368fdb61d8e7c67ac70791b23345b26d7bbc661.tar.xz
linux-dev-e368fdb61d8e7c67ac70791b23345b26d7bbc661.zip
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 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions