[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200225.104124.426697838382401029.davem@davemloft.net>
Date: Tue, 25 Feb 2020 10:41:24 -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>
Saeed, should I apply this directly?
Powered by blists - more mailing lists