Searched hist:"764 e9a24480f6ffba5493fb21e6a7b030d6b8b67" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/sched/ |
H A D | act_vlan.c | diff 764e9a24480f6ffba5493fb21e6a7b030d6b8b67 Fri Aug 10 12:51:51 CDT 2018 Vlad Buslov <vladbu@mellanox.com> net: sched: act_vlan: remove dependency on rtnl lock
Use tcf spinlock to protect vlan action private data from concurrent modification during dump and init. Use rcu swap operation to reassign params pointer under protection of tcf lock. (old params value is not used by init, so there is no need of standalone rcu dereference step)
Remove rtnl assertion that is no longer necessary.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|