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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 26 01:02:32 PST 2015


Issue #2795 has been reported by bycn82.

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

* Author: bycn82
* Status: Resolved
* Priority: Low
* Assignee: 
* 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