On Mon, 2 Nov 2020 18:45:10 -0700 David Ahern wrote:
> On 11/1/20 4:39 AM, Ido Schimmel wrote:
> > From: Ido Schimmel <ido...@nvidia.com>
> > 
> > The nexthop notification chain is a per-namespace chain and not a global
> > one like the netdev notification chain.
> > 
> > Therefore, a single (global) listener cannot be registered to all these
> > chains simultaneously as it will result in list corruptions whenever
> > listeners are registered / unregistered.
> > 
> > Instead, register a different listener in each namespace.
> > 
> > Currently this is not an issue because only the VXLAN driver registers a
> > listener to this chain, but this is going to change with netdevsim and
> > mlxsw also registering their own listeners.
> > 
> > Signed-off-by: Ido Schimmel <ido...@nvidia.com>
> 
> Reviewed-by: David Ahern <dsah...@kernel.org>

Applied, thanks!

Reply via email to