| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH] (5/4) dlci netdevice event handling |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 8 Sep 2003 14:39:29 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20030908141445.5a5c0d42.shemminger@osdl.org> |
| Organization: | Open Source Development Lab |
| References: | <20030908141445.5a5c0d42.shemminger@osdl.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
One more patch, found this in testing
-- need to delete device from list when unregistered
because of callback.
diff -Nru a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c
--- a/drivers/net/wan/dlci.c Mon Sep 8 14:39:14 2003
+++ b/drivers/net/wan/dlci.c Mon Sep 8 14:39:14 2003
@@ -520,6 +520,7 @@
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] (2/4) get rid of register_frad, Stephen Hemminger |
|---|---|
| Next by Date: | ifconfig up/down problem, Sven-Haegar Koch |
| Previous by Thread: | [PATCH] (4/4) dlci netdevice event handling, Stephen Hemminger |
| Next by Thread: | [PATCH] (3/4) dlci locking and registration changes, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |