]> git.baikalelectronics.ru Git - kernel.git/commit
act_mirred: get rid of mirred_list_lock spinlock
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 6 Dec 2017 00:17:27 +0000 (16:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Dec 2017 19:50:13 +0000 (14:50 -0500)
commit696d297308caa4b5afe585328f5e8a796b9ea458
treedd18d3fee78eb5a25a03ee477190c75f8d3671a6
parentb336aef8074363e4e3c9e515fcc5a0d38ed4fd75
act_mirred: get rid of mirred_list_lock spinlock

TC actions are no longer freed in RCU callbacks and we should
always have RTNL lock, so this spinlock is no longer needed.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c