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)
commit4bee00eb25a7b487706d17926db4679ae8f0e411
treedd18d3fee78eb5a25a03ee477190c75f8d3671a6
parent9f8a739e72f1546fb0f8c518af1193522c45be12
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