diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2018-09-24 19:22:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-25 20:17:35 -0700 |
commit | 9d7e82cec35c027756ec97e274f878251f271181 (patch) | |
tree | fb145dfeb6ebfe3f7053d25dfa5134eb915298a7 /block/blk-mq.c | |
parent | 3a7d0d07a386716b459b00783b11a8211cefcc0f (diff) |
net: sched: add helper function to take reference to Qdisc
Implement function to take reference to Qdisc that relies on rcu read lock
instead of rtnl mutex. Function only takes reference to Qdisc if reference
counter isn't zero. Intended to be used by unlocked cls API.
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 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions