diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2008-01-18 01:25:00 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-18 20:38:38 +0100 |
commit | 3b96c858fcb27120fcba222366180c3293393ccf (patch) | |
tree | 53309f366e2a66be42591dfd1ecc9ac34ed96202 /arch/x86 | |
parent | bonding: fix locking during alb failover and slave removal (diff) | |
download | linux-3b96c858fcb27120fcba222366180c3293393ccf.tar.xz linux-3b96c858fcb27120fcba222366180c3293393ccf.zip |
bonding: release slaves when master removed via sysfs
Add a call to bond_release_all in the bonding netdev event
handler for the master. This releases the slaves for the case of, e.g.,
"echo -bond0 > /sys/class/net/bonding_masters", which otherwise will spin
forever waiting for references to be released.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions