android_kernel_motorola_sm6225/drivers/net/bonding
Jay Vosburgh 3201e656ce bonding: Fix use after free in unregister path
The following patch (based on a patch from Stephen Hemminger
<shemminger@linux-foundation.org>) removes use after free conditions in
the unregister path for the bonding master.  Without this patch, an
operation of the form "echo -bond0 > /sys/class/net/bonding_masters"
would trigger a NULL pointer dereference in sysfs.  I was not able to
induce the failure with the non-sysfs code path, but for consistency I
updated that code as well.

	I also did some testing of the bonding /proc file being open
while the bond is being deleted, and didn't see any problems there.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-06-20 19:12:41 -04:00
..
bond_3ad.c [SK_BUFF]: unions of just one member don't get anything done, kill them 2007-04-25 22:26:20 -07:00
bond_3ad.h [PATCH] bonding: support carrier state for master 2006-03-29 17:34:02 -05:00
bond_alb.c [SK_BUFF]: unions of just one member don't get anything done, kill them 2007-04-25 22:26:20 -07:00
bond_alb.h [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_main.c bonding: Fix use after free in unregister path 2007-06-20 19:12:41 -04:00
bond_sysfs.c bonding: Fix use after free in unregister path 2007-06-20 19:12:41 -04:00
bonding.h bonding: update version 2007-02-05 16:58:47 -05:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00