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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:01:43 +0000 (11:01 -0400)
commit7d3d43dab4e978d8d9ad1acf8af15c9b1c4b0f0f
tree5a61ca199992bc951138750209bbfa588f4d271b
parentecca5c3acc0d0933d89abc44e60afb0cc8170e35
net: In unregister_netdevice_notifier unregister the netdevices.

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>
net/core/dev.c