-
Aaro Koskinen authored
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: 481a7d15 ("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>
474a31e1