[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c68aa2c-758a-0140-e0af-597eebba5954@gmail.com>
Date: Tue, 8 Sep 2020 08:34:34 -0600
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, roopa@...dia.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: Re: [RFC PATCH net-next 02/22] nexthop: Convert to blocking
notification chain
On 9/8/20 3:10 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...dia.com>
>
> Currently, the only listener of the nexthop notification chain is the
> VXLAN driver. Subsequent patches will add more listeners (e.g., device
> drivers such as netdevsim) that need to be able to block when processing
> notifications.
>
> Therefore, convert the notification chain to a blocking one. This is
> safe as notifications are always emitted from process context.
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
> include/net/netns/nexthop.h | 2 +-
> net/ipv4/nexthop.c | 13 +++++++------
> 2 files changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists