Re: [Patch net] addrconf: reduce unnecessary atomic allocations

2018-08-22 Thread David Miller
From: Cong Wang Date: Wed, 22 Aug 2018 12:58:34 -0700 > All the 3 callers of addrconf_add_mroute() assert RTNL > lock, they don't take any additional lock either, so > it is safe to convert it to GFP_KERNEL. > > Same for sit_add_v4_addrs(). > > Cc: David Ahern > Signed-off-by: Cong Wang Appl

Re: [Patch net] addrconf: reduce unnecessary atomic allocations

2018-08-22 Thread David Ahern
On 8/22/18 1:58 PM, Cong Wang wrote: > All the 3 callers of addrconf_add_mroute() assert RTNL > lock, they don't take any additional lock either, so > it is safe to convert it to GFP_KERNEL. > > Same for sit_add_v4_addrs(). > > Cc: David Ahern > Signed-off-by: Cong Wang > --- > net/ipv6/addrco

[Patch net] addrconf: reduce unnecessary atomic allocations

2018-08-22 Thread Cong Wang
All the 3 callers of addrconf_add_mroute() assert RTNL lock, they don't take any additional lock either, so it is safe to convert it to GFP_KERNEL. Same for sit_add_v4_addrs(). Cc: David Ahern Signed-off-by: Cong Wang --- net/ipv6/addrconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 delet