commit | 8c171d6ca56c6891372a97af26b58b2cfad7fd9a | [log] [tgz] |
---|---|---|
author | Felix Jia <felix.jia@alliedtelesis.co.nz> | Mon Feb 27 12:41:23 2017 +1300 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 01 10:22:48 2017 -0800 |
tree | 13aaa3cbaebb1e12014a986f9f5e2c7c944501b1 | |
parent | a3695e9751b3c616170b552f8561b5a7c5b7a3ca [diff] |
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>