tmp_suning_uos_patched/drivers/net/bonding
Moni Shoua d90a162a4e net/bonding: Destroy bonding master when last slave is gone
When bonding enslaves non Ethernet devices it takes pointers to functions
in the module that owns the slaves. In this case it becomes unsafe
to keep the bonding master registered after last slave was unenslaved
because we don't know if the pointers are still valid.  Destroying the bond when slave_cnt is zero
ensures that these functions be used anymore.

Signed-off-by: Moni Shoua <monis at voltaire.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-15 14:20:46 -04:00
..
bond_3ad.c endianness annotations drivers/net/bonding/ 2007-10-10 16:51:56 -07:00
bond_3ad.h endianness annotations drivers/net/bonding/ 2007-10-10 16:51:56 -07:00
bond_alb.c endianness annotations drivers/net/bonding/ 2007-10-10 16:51:56 -07:00
bond_alb.h endianness annotations drivers/net/bonding/ 2007-10-10 16:51:56 -07:00
bond_main.c net/bonding: Destroy bonding master when last slave is gone 2007-10-15 14:20:46 -04:00
bond_sysfs.c net/bonding: Destroy bonding master when last slave is gone 2007-10-15 14:20:46 -04:00
bonding.h net/bonding: Destroy bonding master when last slave is gone 2007-10-15 14:20:46 -04:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00