diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-11 10:55:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 13:41:33 -0500 |
commit | 12db03b65c2b90752e4c37666977fd4a1b5f5824 (patch) | |
tree | 6915e0a9fae6df1abbd8ce54ce5a13d6b2688953 /net/ieee802154 | |
parent | 7d5509fa0d3ddfe252b4418513e493ac98de3317 (diff) | |
download | linux-12db03b65c2b90752e4c37666977fd4a1b5f5824.tar.bz2 |
net: sched: extend proto ops to support unlocked classifiers
Add 'rtnl_held' flag to tcf proto change, delete, destroy, dump, walk
functions to track rtnl lock status. Extend users of these function in cls
API to propagate rtnl lock status to them. This allows classifiers to
obtain rtnl lock when necessary and to pass rtnl lock status to extensions
and driver offload callbacks.
Add flags field to tcf proto ops. Add flag value to indicate that
classifier doesn't require rtnl lock.
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/ieee802154')
0 files changed, 0 insertions, 0 deletions