Re: [PATCH v2] net: stmmac: fix notifier registration

From: David Miller
Date: Wed Feb 26 2020 - 23:56:02 EST


From: aaro.koskinen@xxxxxxxxx
Date: Wed, 26 Feb 2020 18:49:01 +0200

> From: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
>
> We cannot register the same netdev notifier multiple times when probing
> stmmac devices. Register the notifier only once in module init, and also
> make debugfs creation/deletion safe against simultaneous notifier call.
>
> Fixes: 481a7d154cbb ("stmmac: debugfs entry name is not be changed when udev rename device name.")
> Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>

Applied and queued up for v5.5 -stable, thanks.