]> git.hungrycats.org Git - linux/commit
net: In unregister_netdevice_notifier unregister the netdevices.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 6 Apr 2012 15:33:35 +0000 (15:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 16:32:18 +0000 (09:32 -0700)
commita3aea3c511888bf0b1261a5414051e43b69a5ebd
treeca74c7e60c1c87e6959408d6c23c5632f8012050
parent51cfc3b6927a21512fddeb3ab07065295657fde8
net: In unregister_netdevice_notifier unregister the netdevices.

[ Upstream commit 7d3d43dab4e978d8d9ad1acf8af15c9b1c4b0f0f ]

We already synthesize events in register_netdevice_notifier and synthesizing
events in unregister_netdevice_notifier allows to us remove the need for
special case cleanup code.

This change should be safe as it adds no new cases for existing callers
of unregiser_netdevice_notifier to handle.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/dev.c