Messages in this thread | | | Date | Wed, 08 Jul 2015 16:06:34 -0700 (PDT) | Subject | Re: [PATCH v3] bonding: "primary_reselect" with "failure" is not working properly | From | David Miller <> |
| |
From: Mazhar Rana <ranamazharp@gmail.com> Date: Tue, 7 Jul 2015 15:04:50 +0530
> From: Mazhar Rana <mazhar.rana@cyberoam.com> > > When "primary_reselect" is set to "failure", primary interface should > not become active until current active slave is down. But if we set first > member of bond device as a "primary" interface and "primary_reselect" > is set to "failure" then whenever primary interface's link get back(up) > it become active slave even if current active slave is still up. > > With this patch, "bond_find_best_slave" will not traverse members if > primary interface is not candidate for failover/reselection and current > active slave is still up. > > Signed-off-by: Mazhar Rana <mazhar.rana@cyberoam.com> > Signed-off-by: Jay Vosburgh <j.vosburgh@gmail.com>
Applied, thanks.
| |