lkml.org 
[lkml]   [2014]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] bonding: Inactive slaves should keep inactive flag's value
From
From: Zheng Li <zheng.x.li@oracle.com>
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.


\
 
 \ /
  Last update: 2014-04-01 23:01    [W:0.410 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site