| To: | fubar@xxxxxxxxxx, bonding-devel@xxxxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6.13-rc1 5/17] bonding: reset RLB flag during ALB init |
| From: | Radheka Godse <radheka.godse@xxxxxxxxx> |
| Date: | Fri, 1 Jul 2005 13:43:21 -0700 (PDT) |
| Cc: | netdev@xxxxxxxxxxx |
| Replyto: | "Radheka Godse" <radheka.godse@intel.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
This 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.12post/drivers/net/bonding/bond_alb.c
linux-2.6.12post-sysfs/drivers/net/bonding/bond_alb.c
--- linux-2.6.12post/drivers/net/bonding/bond_alb.c 2005-06-17
12:48:29.000000000 -0700
+++ linux-2.6.12post-sysfs/drivers/net/bonding/bond_alb.c 2005-06-28
18:21:35.000000000 -0700
@@ -1256,6 +1256,8 @@
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.13-rc1 4/17] bonding: return pointer to slave from enslave, Radheka Godse |
|---|---|
| Next by Date: | Re: [PATCH] multipath routing algorithm, better patch, Thomas Graf |
| Previous by Thread: | [PATCH 2.6.13-rc1 4/17] bonding: return pointer to slave from enslave, Radheka Godse |
| Next by Thread: | [PATCH 2.6.13-rc1 6/17] bonding: ALB init kmalloc inside spinlock bugfix, Radheka Godse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |