]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdeb9a88679df83d1e99b7132311887e1ec06da40
tree28d392a4774d2752e736f47054244e7a275b626a
parent0f26292f3f53315fac1252ecba1828e63a8275cd
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