[patch] bonding compile fix for 2.6.1-rc1-mm1 ...

From: Davide Libenzi
Date: Wed Dec 31 2003 - 11:47:17 EST



Sending this also to Hen since he has done the last major reshape.



- Davide



--- linux-2.6-rc1-mm1/drivers/net/bonding/bond_main.orig.c 2003-12-31 08:10:38.000000000 -0800
+++ linux-2.6-rc1-mm1/drivers/net/bonding/bond_main.c 2003-12-31 08:37:53.552550706 -0800
@@ -1657,8 +1657,8 @@
bond_change_active_slave(bond, NULL);
}

- if ((bond->params.mode == BOND_MODE_TLB) ||
- (bond->params.mode == BOND_MODE_ALB)) {
+ if ((bond_mode == BOND_MODE_TLB) ||
+ (bond_mode == BOND_MODE_ALB)) {
/* Must be called only after the slave has been
* detached from the list and the curr_active_slave
* has been cleared (if our_slave == old_current),

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/