Reference

unregister_netdevice(9)

remove device from the kernel

NAME

unregister_netdevice - remove device from the kernel

SYNOPSIS

void unregister_netdevice(struct net_device * dev);

ARGUMENTS

dev

device

DESCRIPTION

This function shuts down a device interface and removes it from the kernel tables.

Callers must hold the rtnl semaphore. You may want unregister_netdev instead of this.

COPYRIGHT

History