Project

General

Profile

Bug #2795

kernel will panic due if_clone_detach twice

Added by bycn82 over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Networking
Target version:
Start date:
02/26/2015
Due date:
% Done:

100%

Estimated time:

Description

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:
#

History

#1

Updated by swildner over 4 years ago

  • 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

#2

Updated by profmakx over 4 years ago

  • Status changed from In Progress to Feedback

swildner wrote:
> The fix looks good IMO. Assigning profmakx so he can review and fix.
>
> Sascha

There you go.

#3

Updated by swildner over 4 years ago

  • Status changed from Feedback to Closed

Closing now, as it is fixed in master.

Also available in: Atom PDF