Re: [PATCH net-next 1/2] ipv6: addrconf: don't use rtnl mutex in RTM_GETNETCONF

2017-10-11 Thread David Miller
From: Florian Westphal Date: Wed, 11 Oct 2017 10:28:00 +0200 > 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

[PATCH net-next 1/2] ipv6: addrconf: don't use rtnl mutex in RTM_GETNETCONF

2017-10-11 Thread Florian Westphal
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_KER