• Patrick Mochel's avatar
    network devices: make sure kobjects always get unregistered. · 6ac4a2a4
    Patrick Mochel authored
    Third time's a charm..
    
    This moves the kobject_unregister() call to after the out: label, making 
    sure it always gets unregistered. It wasn't if
    
    	if (dev->features & NETIF_F_DYNALLOC)
    
    was true (which it is for PPP devices), causing re-registration of devices
    to fail. 
    6ac4a2a4
dev.c 70.2 KB