| To: | fubar@xxxxxxxxxx, bonding-devel@xxxxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6.12-rc2 5/17] bonding: reset RLB flag during ALB init |
| From: | Radheka Godse <radheka.godse@xxxxxxxxx> |
| Date: | Fri, 8 Apr 2005 16:30:38 -0700 (PDT) |
| Cc: | netdev@xxxxxxxxxxx |
| Replyto: | "Radheka Godse" <radheka.godse@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
s patch makes the ALB init function explicitly clear the RLB flag if
RLB is not used. This is required by the sysfs interfaces, which allows
the user to change mode without destroying the bond.
Signed-off-by: Radheka Godse <radheka.godse@xxxxxxxxx>
Signed-off-by: Mitch Williams <mitch.a.williams@xxxxxxxxx>
diff -urN -X dontdiff linux-2.6.12-rc2clean/drivers/net/bonding/bond_alb.c
linux-2.6.12-rc2/drivers/net/bonding/bond_alb.c
--- linux-2.6.12-rc2clean/drivers/net/bonding/bond_alb.c 2005-04-07
11:24:41.000000000 -0700
+++ linux-2.6.12-rc2/drivers/net/bonding/bond_alb.c 2005-04-07
13:57:29.000000000 -0700
@@ -1256,7 +1256,10 @@
tlb_deinitialize(bond);
return res;
}
+ } else {
+ bond->alb_info.rlb_enabled = 0;
}
+
return 0;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6.12-rc2 4/17] bonding: return pointer to slave from enslave, Radheka Godse |
|---|---|
| Next by Date: | [PATCH 2.6.12-rc2 6/17] bonding: ALB init kmalloc inside spinlock bugfix, Radheka Godse |
| Previous by Thread: | [PATCH 2.6.12-rc2 4/17] bonding: return pointer to slave from enslave, Radheka Godse |
| Next by Thread: | [PATCH 2.6.12-rc2 6/17] bonding: ALB init kmalloc inside spinlock bugfix, Radheka Godse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |