Files
linux/drivers/net/ethernet
Aaro Koskinen 95418cd617 net: stmmac: fix notifier registration
commit 474a31e13a upstream.

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: 481a7d154c ("stmmac: debugfs entry name is not be changed when udev rename device name.")
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-01 13:06:08 +01:00
..
2024-02-23 08:12:51 +01:00
2021-10-20 11:23:03 +02:00
2024-02-23 08:12:51 +01:00
2023-08-30 16:31:54 +02:00
2022-05-12 12:20:25 +02:00
2023-11-08 11:22:15 +01:00
2021-10-20 11:23:03 +02:00