]> err.no Git - linux-2.6/commitdiff
[PATCH] bonding: explicitly clear RLB flag during ALB init
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 9 Nov 2005 18:35:35 +0000 (10:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 13 Nov 2005 19:48:19 +0000 (14:48 -0500)
Explicitly clear RLB flag during ALB init.  This is needed for sysfs
support, since the bond mode can be changed at runtime via sysfs.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/bonding/bond_alb.c

index e8d10f3cb1b5ccdbb3112825edd90d69b5785c3f..24f4a3d14991711646fad11a9e22ce11d0569ffa 100644 (file)
@@ -1256,6 +1256,8 @@ int bond_alb_initialize(struct bonding *bond, int rlb_enabled)
                        tlb_deinitialize(bond);
                        return res;
                }
+       } else {
+               bond->alb_info.rlb_enabled = 0;
        }
 
        return 0;