Files
linux-st/drivers/net
Moni Shoua db018a5f49 bonding: Don't destroy bonding master when removing slave via sysfs
It is wrong to destroy a bonding master from a context that uses the sysfs
of that bond. When last IPoIB slave is unenslaved from by writing to a
sysfs file (for bond0 this would be /sys/class/net/bond0/bonding/slaves)
the driver tries to destroy the bond. This is wrong and can lead to a
lockup or a crash.  This fix lets the bonding master stay and relies on
the user to destroy the bonding master if necessary (i.e. before module
ib_ipoib is unloaded)

This patch affects only bonds of IPoIB slaves. Ethernet slaves stay
unaffected.

Signed-off-by: Moni Shoua <monis@voltaire.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-08-07 03:59:56 -04:00
..
2008-07-29 17:48:42 -04:00
2008-07-22 19:39:14 -04:00
2008-08-07 02:22:15 -04:00
2008-07-29 18:24:14 -04:00
2008-07-18 17:54:17 -07:00
2008-07-18 17:58:57 -07:00
2008-07-18 17:55:11 -07:00
2008-06-23 20:33:36 -07:00
2008-06-23 20:27:26 -07:00
2008-06-23 20:33:01 -07:00
2008-06-23 20:34:36 -07:00
2008-07-26 12:00:06 -07:00
2008-08-07 02:11:01 -04:00
2008-08-07 02:11:05 -04:00
2008-07-22 17:12:37 +10:00
2008-07-22 17:50:44 -04:00
2008-07-22 17:50:44 -04:00
2008-07-25 15:44:44 +10:00
2008-08-07 02:20:57 -04:00
2008-08-07 02:11:19 -04:00
2008-07-24 06:22:59 +02:00
2008-07-22 17:50:44 -04:00
2008-07-30 17:14:57 -04:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-20 17:12:34 -07:00
2008-06-20 21:58:02 -07:00
2008-08-07 02:11:15 -04:00
2008-07-22 20:00:01 -04:00
2008-07-11 01:11:40 -04:00
2008-08-07 02:20:57 -04:00
2008-08-07 02:20:57 -04:00
2008-08-07 01:55:50 -04:00
2008-08-07 01:55:50 -04:00
2008-07-20 17:12:34 -07:00
2008-07-22 17:54:17 -04:00