commit | 4ea2607f7871ca433ab0c5300289215974213f26 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Wed Oct 11 10:28:00 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 11 20:17:03 2017 -0700 |
tree | b82df7e17ae41b3b88029354d9587fd2e09cdcd0 | |
parent | b274f6db148a87055052aa8fd4fdd4a0b65b8bd5 [diff] |
ipv6: addrconf: don't use rtnl mutex in RTM_GETNETCONF Instead of relying on rtnl mutex bump device reference count. After this change, values reported can change in parallel, but thats not much different from current state, as anyone can change the settings right after rtnl_unlock (and before userspace processed reply). While at it, switch to GFP_KERNEL allocation. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>