[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6c926973-a6c5-43e1-8249-c5ee25ece715@kernel.org>
Date: Wed, 7 Feb 2024 11:06:06 -0700
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Antoine Tenart <atenart@...nel.org>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v4 net-next 07/15] ipv4: add
__unregister_nexthop_notifier()
On 2/6/24 7:43 AM, Eric Dumazet wrote:
> unregister_nexthop_notifier() assumes the caller does not hold rtnl.
>
> We need in the following patch to use it from a context
> already holding rtnl.
>
> Add __unregister_nexthop_notifier().
>
> unregister_nexthop_notifier() becomes a wrapper.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/net/nexthop.h | 1 +
> net/ipv4/nexthop.c | 19 +++++++++++++------
> 2 files changed, 14 insertions(+), 6 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists