Re: [PATCH net-next] ipv6: do not abuse GFP_ATOMIC in inet6_netconf_notify_devconf()

From
David Miller <davem@davemloft.net>
Date
2016-07-09 22:14:54
Reply to
Eric Dumazet, 2016-07-08
From: Eric Dumazet <redacted>
Date: Fri, 08 Jul 2016 05:46:04 +0200
From: Eric Dumazet <redacted>

All inet6_netconf_notify_devconf() callers are in process context,
so we can use GFP_KERNEL allocations if we take care of not holding
a rwlock while not needed in ip6mr (we hold RTNL there)


Fixes: d67b8c616b48 ("netconf: advertise mc_forwarding status")
Fixes: f3a1bfb11ccb ("rtnl/ipv6: use netconf msg to advertise forwarding status")
Signed-off-by: Eric Dumazet <redacted>
Cc: Nicolas Dichtel <redacted>
Applied.
Thread (18 messages) 18 messages, 5 authors, last reply 2016-07-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help