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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 26 06:53:22 PST 2015


Issue #2795 has been updated by swildner.

Status changed from Feedback to Closed

Closing now, as it is fixed in master.


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

* Author: bycn82
* Status: Closed
* 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