]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: sched: act_skbmod: remove dependency on rtnl lock
authorVlad Buslov <vladbu@mellanox.com>
Fri, 10 Aug 2018 17:51:49 +0000 (20:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 19:37:09 +0000 (12:37 -0700)
commitc8814552fe51358f5fc46bc1c4aa4bb68454f4eb
tree71af6a057faa64a3c469f9491320e50df0697486
parent5e48180ed8bcfa60e02887ba801307caf14bbe40
net: sched: act_skbmod: remove dependency on rtnl lock

Move read of skbmod_p rcu pointer to be protected by tcf spinlock. Use tcf
spinlock to protect private skbmod data from concurrent modification during
dump.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_skbmod.c