The patch titled bonding: release slaves when master removed via sysfs has been removed from the -mm tree. Its filename was bonding-release-slaves-when-master-removed-via-sysfs.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: bonding: release slaves when master removed via sysfs From: Jay Vosburgh <fubar@xxxxxxxxxx> 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@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/bonding/bond_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/net/bonding/bond_main.c~bonding-release-slaves-when-master-removed-via-sysfs drivers/net/bonding/bond_main.c --- a/drivers/net/bonding/bond_main.c~bonding-release-slaves-when-master-removed-via-sysfs +++ a/drivers/net/bonding/bond_main.c @@ -3401,9 +3401,7 @@ static int bond_master_netdev_event(unsi case NETDEV_CHANGENAME: return bond_event_changename(event_bond); case NETDEV_UNREGISTER: - /* - * TODO: remove a bond from the list? - */ + bond_release_all(event_bond->dev); break; default: break; _ Patches currently in -mm which might be from fubar@xxxxxxxxxx are origin.patch git-net.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html