diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2005-11-09 13:35:35 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-13 14:48:19 -0500 |
commit | b76850ab577bb4b929e60894d2025bbfcc043984 (patch) | |
tree | 0d1c22d205d026cf96da0fa6b014a0c3f915358c /drivers/net/bonding/bond_alb.c | |
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/bond_alb.c')
-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) | |||
1256 | tlb_deinitialize(bond); | 1256 | tlb_deinitialize(bond); |
1257 | return res; | 1257 | return res; |
1258 | } | 1258 | } |
1259 | } else { | ||
1260 | bond->alb_info.rlb_enabled = 0; | ||
1259 | } | 1261 | } |
1260 | 1262 | ||
1261 | return 0; | 1263 | return 0; |