Name

unregister_netdevice_queue — remove device from the kernel

Synopsis

void unregister_netdevice_queue (struct net_device * dev,
 struct list_head * head);
 

Arguments

struct net_device * dev

device

struct list_head * head

list

Description

This function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.

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