From: Veaceslav Falico Date: Wed, 28 Aug 2013 21:25:11 +0000 (+0200) Subject: bonding: convert bond_has_this_ip() to use upper devices X-Git-Tag: v3.12-rc1~132^2~151^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50223ce4be70367ca5d8135bfd4c976e148bc491;p=pandora-kernel.git bonding: convert bond_has_this_ip() to use upper devices Currently, bond_has_this_ip() is aware only of vlan upper devices, and thus will return false if the address is associated with the upper bridge or any other device, and thus will break the arp logic. Fix this by using the upper device list. For every upper device we verify if the address associated with it is our address, and if yes - return true. CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed