diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2005-11-09 10:35:35 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-13 14:48:19 -0500 |
commit | b76850ab577bb4b929e60894d2025bbfcc043984 (patch) | |
tree | 0d1c22d205d026cf96da0fa6b014a0c3f915358c /drivers/net/bonding | |
parent | 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 (diff) |
[PATCH] bonding: explicitly clear RLB flag during ALB init
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>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index e8d10f3cb1b5..24f4a3d14991 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c @@ -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; |