[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200226.165048.2228405992426450518.davem@davemloft.net>
Date: Wed, 26 Feb 2020 16:50:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, kuba@...nel.org, ayal@...lanox.com,
saeedm@...lanox.com, ranro@...lanox.com, moshe@...lanox.com
Subject: Re: [patch net] mlx5: register lag notifier for init network
namespace only
From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 25 Feb 2020 10:25:46 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> The current code causes problems when the unregistering netdevice could
> be different then the registering one.
>
> Since the check in mlx5_lag_netdev_event() does not allow any other
> network namespace anyway, fix this by registerting the lag notifier
> per init network namespace only.
>
> Fixes: d48834f9d4b4 ("mlx5: Use dev_net netdevice notifier registrations")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> Tested-by: Aya Levin <ayal@...lanox.com>
Applied, thank you.
Powered by blists - more mailing lists