From: Zheng Li <[email protected]> Date: Tue, 1 Apr 2014 16:02:07 +0800
> - if ((bond->params.mode == BOND_MODE_ACTIVEBACKUP) > + if ((bond->params.mode == BOND_MODE_ACTIVEBACKUP || > bond_is_lb(bond)) As has been suggested, please use USES_PRIMARY() for this entire logical test. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

