summaryrefslogtreecommitdiff
path: root/usr/include
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2020-02-26 18:49:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-12 13:00:09 +0100
commit95aeaec9e63dfba37a4e25d993d53b2655646095 (patch)
treeb46940cba4488eb7d997ad087e418d07ffc07437 /usr/include
parent551132b2943f620801601f44dfa8c70d22b87a8b (diff)
net: stmmac: fix notifier registration
[ Upstream commit 474a31e13a4e9749fb3ee55794d69d0f17ee0998 ] 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@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'usr/include')
0 files changed, 0 insertions, 0 deletions