From: Mazhar Rana Date: Tue, 7 Jul 2015 09:34:50 +0000 (+0530) Subject: bonding: "primary_reselect" with "failure" is not working properly X-Git-Tag: omap-for-v4.3/fixes-merge-window~247^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a983f3141239b5b0b4a4e66efa31f8a26354b8;p=pandora-kernel.git bonding: "primary_reselect" with "failure" is not working properly 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 Signed-off-by: Jay Vosburgh Signed-off-by: Jay Vosburgh Signed-off-by: David S. Miller --- Reading git-diff-tree failed