net: sched: flower: protect masks list with spinlock
authorVlad Buslov <vladbu@mellanox.com>
Thu, 21 Mar 2019 13:17:39 +0000 (15:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2019 21:32:17 +0000 (14:32 -0700)
commit259e60f96785ab9043bb6eea5b90b354053f98cc
tree28d392a4774d2752e736f47054244e7a275b626a
parent195c234d15c9e93c7ee60b7d32067a9937e611a5
net: sched: flower: protect masks list with spinlock

Protect modifications of flower masks list with spinlock to remove
dependency on rtnl lock and allow concurrent access.

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