aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index a51ae7dc8d51..558ec1352527 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -254,8 +254,8 @@ static inline struct bonding *bond_get_bond_by_slave(struct slave *slave)
254 254
255static inline bool bond_is_lb(const struct bonding *bond) 255static inline bool bond_is_lb(const struct bonding *bond)
256{ 256{
257 return bond->params.mode == BOND_MODE_TLB 257 return (bond->params.mode == BOND_MODE_TLB ||
258 || bond->params.mode == BOND_MODE_ALB; 258 bond->params.mode == BOND_MODE_ALB);
259} 259}
260 260
261#define BOND_PRI_RESELECT_ALWAYS 0 261#define BOND_PRI_RESELECT_ALWAYS 0