Project

General

Profile

Actions

Bug #2796

closed

panic when create and destroy lagg interface

Added by bycn82 about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:

Description

for i in `seq 1 100`;
do
ifconfig lagg0 create
ifconfig lagg0 destroy
done

the shell ahove helps to trigger create and destroy lagg interface mutiple times.

it is potential that the below line will cause problem.
line 454 if_lagg.c lagg_clone_destroy()
kfree(sc, M_DEVBUF);


Files

Actions #1

Updated by profmakx about 9 years ago

This is due to a double free issue in lagg_clone_destroy. Try the attached patch, please.

Actions #2

Updated by profmakx about 9 years ago

This has been applied to -master in commit 8249c641

Actions #3

Updated by profmakx about 9 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF