-
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