Files
linux/drivers
Aaro Koskinen 95aeaec9e6 net: stmmac: fix notifier registration
[ Upstream commit 474a31e13a ]

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: Sasha Levin <sashal@kernel.org>
2020-03-12 13:00:09 +01:00
..
2020-02-24 08:36:40 +01:00
2020-03-05 16:43:47 +01:00
2020-02-28 17:22:12 +01:00
2020-02-19 19:53:10 +01:00
2020-02-24 08:36:48 +01:00