[DragonFlyBSD - Bug #2796] panic when create and destroy lagg interface

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 26 07:25:29 PST 2015


Issue #2796 has been updated by profmakx.

File 0001-net-if_lagg-Fix-double-free-issue.patch added

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

----------------------------------------
Bug #2796: panic when create and destroy lagg interface
http://bugs.dragonflybsd.org/issues/2796#change-12606

* Author: bycn82
* Status: In Progress
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
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--------------------------------
0001-net-if_lagg-Fix-double-free-issue.patch (1.18 KB)


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