]> git.baikalelectronics.ru Git - kernel.git/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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:01:43 +0000 (11:01 -0400)
commit51fbffd73981e96cb5c297f02a0951fec1801be8
tree5a61ca199992bc951138750209bbfa588f4d271b
parentbd86dd9889b1a599c03f28d1771257adf54ae4f8
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