Re: [PATCH net/ipv6] net/ipv6: avoid possible dead locking on addr_gen_mode sysctl

2017-03-01 Thread David Miller
From: Felix Jia Date: Mon, 27 Feb 2017 12:41:23 +1300 > 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 Applied and queued up for -sta

[PATCH net/ipv6] net/ipv6: avoid possible dead locking on addr_gen_mode sysctl

2017-02-26 Thread Felix Jia
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 --- net/ipv6/addrconf.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletio