summaryrefslogtreecommitdiff
path: root/drivers/net/net_failover.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-03 10:09:20 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-08 10:18:25 -0700
commitf20a4d01175ad681a88d571c6391d188453ca6d0 (patch)
treed2f8e7d03b7aa532e494ccd9fdabc106de3c7bac /drivers/net/net_failover.c
parent6d7a8df6dfe4d62335673fb15407d79180a33ea2 (diff)
net: sched: act_nat: remove dependency on rtnl lock
According to the new locking rule, we have to take tcf_lock for both ->init() and ->dump(), as RTNL will be removed. Use tcf spinlock to protect private nat action data from concurrent modification during dump. (nat init already uses tcf spinlock when changing action state) Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/net_failover.c')
0 files changed, 0 insertions, 0 deletions