'\" t .\" Title: unregister_netdevice_notifier .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "UNREGISTER_NETDEVICE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Network device support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" unregister_netdevice_notifier \- unregister a network notifier block .SH "SYNOPSIS" .HP \w'int\ unregister_netdevice_notifier('u .BI "int unregister_netdevice_notifier(struct\ notifier_block\ *\ " "nb" ");" .SH "ARGUMENTS" .PP \fInb\fR .RS 4 notifier .RE .SH "DESCRIPTION" .PP Unregister a notifier previously registered by \fBregister_netdevice_notifier\fR\&. The notifier is unlinked into the kernel structures and may then be reused\&. A negative errno code is returned on a failure\&. .PP 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\&. .SH "COPYRIGHT" .br