]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sched: flower: don't take rtnl lock for cls hw offloads API
authorVlad Buslov <vladbu@mellanox.com>
Mon, 26 Aug 2019 13:45:06 +0000 (16:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Aug 2019 21:17:43 +0000 (14:17 -0700)
commit918190f50eb630032ca0fb21f14f2e9c5c325626
tree02e87d067c9703d774ff0fc9139b24c02ac24a89
parent1444c175a37443d3f6d3db825df050741452c3c3
net: sched: flower: don't take rtnl lock for cls hw offloads API

Don't manually take rtnl lock in flower classifier before calling cls
hardware offloads API. Instead, pass rtnl lock status via 'rtnl_held'
parameter.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c