[DragonFlyBSD - Bug #2795] (In Progress) kernel will panic due if_clone_detach twice

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 26 01:31:19 PST 2015


Issue #2795 has been updated by swildner.

Status changed from Resolved to In Progress
Assignee set to profmakx

The fix looks good IMO. Assigning profmakx so he can review and fix.

Sascha


----------------------------------------
Bug #2795: kernel will panic due if_clone_detach twice
http://bugs.dragonflybsd.org/issues/2795#change-12603

* Author: bycn82
* Status: In Progress
* Priority: Low
* Assignee: profmakx
* Category: Networking
* Target version: 4.0.x
----------------------------------------
diff --git a/sys/net/lagg/if_lagg.c b/sys/net/lagg/if_lagg.c
index 5fb022c..6adb01c 100644
--- a/sys/net/lagg/if_lagg.c
+++ b/sys/net/lagg/if_lagg.c
@@ -224,7 +224,6 @@ lagg_modevent(module_t mod, int type, void *data)
                    lagg_detach_cookie);
                if_clone_detach(&lagg_cloner);
                lagg_input_p = NULL;
-               if_clone_detach(&lagg_cloner);
                lockuninit(&lagg_list_lock);
                break;
        default:
#




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list