unregister_netdevice_notifier_rh — unregister a network notifier block
int unregister_netdevice_notifier_rh ( | struct notifier_block * nb) ; |
Unregister a notifier previously registered by
register_netdevice_notifier
. The notifier is unlinked into the
kernel structures and may then be reused. A negative errno code
is returned on a failure.
After unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.
NOTE THAT this function must be used for notifiers that takes pointer to 'struct netdev_notifier_info' as 3rd parameter.