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 <[EMAIL PROTECTED]> diff -urpN -X linux-2.6.13/Documentation/dontdiff linux-2.6.14-rc2-clean/drivers/net/bonding/bond_alb.c linux-2.6.14-rc2/drivers/net/bonding/bond_alb.c --- linux-2.6.14-rc2-clean/drivers/net/bonding/bond_alb.c 2005-09-27 16:15:08.000000000 -0700 +++ linux-2.6.14-rc2/drivers/net/bonding/bond_alb.c 2005-09-27 16:26:39.000000000 -0700 @@ -1256,6 +1256,8 @@ int bond_alb_initialize(struct bonding * tlb_deinitialize(bond); return res; } + } else { + bond->alb_info.rlb_enabled = 0; } return 0; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html