summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorFelix Jia <felix.jia@alliedtelesis.co.nz>2017-02-27 00:41:23 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-01 19:22:48 +0100
commit8c171d6ca56c6891372a97af26b58b2cfad7fd9a (patch)
tree13aaa3cbaebb1e12014a986f9f5e2c7c944501b1 /net/ipv6/route.c
parentMerge branch 'vxlan-geneve-rcu-fixes' (diff)
downloadlinux-8c171d6ca56c6891372a97af26b58b2cfad7fd9a.tar.xz
linux-8c171d6ca56c6891372a97af26b58b2cfad7fd9a.zip
net/ipv6: avoid possible dead locking on addr_gen_mode sysctl
The addr_gen_mode variable can be accessed by both sysctl and netlink. Repleacd rtnl_lock() with rtnl_trylock() protect the sysctl operation to avoid the possbile dead lock.` Signed-off-by: Felix Jia <felix.jia@alliedtelesis.co.nz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions