[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+5n8=tEP-3nf+=2iXjnCZy0_ivQiqg2PNV5XpO_06y3Q@mail.gmail.com>
Date: Fri, 18 Oct 2024 15:56:01 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, David Ahern <dsahern@...nel.org>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 09/11] ipv4: Convert devinet_sysctl_forward()
to per-netns RTNL.
On Fri, Oct 18, 2024 at 3:25 AM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> devinet_sysctl_forward() touches only a single netns.
>
> Let's use rtnl_trylock() and __in_dev_get_rtnl_net().
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists