]> 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)
commit46aa267b53021dd40516e02a214d19d5bdb5c333
tree5a61ca199992bc951138750209bbfa588f4d271b
parent4bec3babc2e0995df57fc632fa447901e1fcc44f
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