Name

unregister_netdev — remove device from the kernel

Synopsis

void unregister_netdev (struct net_device * dev);
 

Arguments

struct net_device * dev

device

Description

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

This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.