commit | c24e43d83b7aedb3effef54627448253e22a0140 | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Thu Mar 21 15:17:43 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 21 14:32:17 2019 -0700 |
tree | 9f9e92b78092175e141ee8bc340667cce6a6db44 | |
parent | 3d81e7118d572f37456922929b2b289138b2174f [diff] |
net: sched: flower: track rtnl lock state Use 'rtnl_held' flag to track if caller holds rtnl lock. Propagate the flag to internal functions that need to know rtnl lock state. Take rtnl lock before calling tcf APIs that require it (hw offload, bind filter, etc.). Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>