From 289b80ca09a5d3ba0ce31b467828ab486f45b731 Mon Sep 17 00:00:00 2001 From: Andrew Gospodarek Date: Fri, 11 Apr 2008 17:07:07 -0400 Subject: [PATCH] bonding interface flag fix RHBZ 442124 This commit to the RHEL4 git tree contains contains an error: commit ea821e7617146fa966f4e61a8ce3a010fafad098 Author: Brad Peters Date: Wed Mar 12 17:00:54 2008 -0400 [NET] bonding: add MAC based failover support to bonding driver since interface flags could be set incorrectly. --- drivers/net/bonding/bond_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index c883da8..b5592f4 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -1903,7 +1903,7 @@ static int bond_enslave(struct net_device *bond_dev, struct net_device *slave_de res = slave_dev->set_mac_address(slave_dev, &addr); if (res) { dprintk("Error %d calling set_mac_address\n", res); - goto err_free; + goto err_unset_master; } } -- 1.5.2.1