---
name: "unregister_netdevice_notifier"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/unregister_netdevice_notifier"
---

# unregister\_netdevice\_notifier(9)

unregister a network notifier block

## NAME

unregister\_netdevice\_notifier - unregister a network notifier block

## SYNOPSIS

**int unregister\_netdevice\_notifier(struct notifier\_block \*** *nb***);**

## ARGUMENTS

*nb*

notifier

## DESCRIPTION

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.

## COPYRIGHT
