[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19f49b91-5f05-8d2e-4c20-38edd1993282@gmail.com>
Date: Wed, 22 Aug 2018 14:09:06 -0600
From: David Ahern <dsahern@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org
Cc: David Ahern <dsahern@...il.com>
Subject: Re: [Patch net] addrconf: reduce unnecessary atomic allocations
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 <dsahern@...il.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
> ---
> net/ipv6/addrconf.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Not sure how I missed the double ASSERT_RTNL() check for
sit_add_v4_addrs. Thanks for following up.
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists