remove device from the kernel
struct net_device * dev
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