Commit d5243ca2 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] (5/4) dlci netdevice event handling

One more patch, found this in testing
 -- need to delete device from list when unregistered
because of callback.
parent 50f7f68f
......@@ -520,6 +520,7 @@ static int dlci_dev_event(struct notifier_block *unused,
list_for_each_entry(dlp, &dlci_devs, list) {
if (dlp->slave == dev) {
list_del(&dlp->list);
unregister_netdevice(dlp->master);
dev_put(dlp->slave);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment