diff options
author | Veaceslav Falico <[email protected]> | 2013-08-28 23:25:11 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-08-29 16:19:42 -0400 |
commit | 50223ce4be70367ca5d8135bfd4c976e148bc491 (patch) | |
tree | 39e50a5455c0b94d126cdb5ed2c2530c558d8a8b /tools/perf/scripts/python/sched-migration.py | |
parent | 27bc11e63888c7cb0bd6d443e98775254cf7dbdd (diff) |
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 <[email protected]>
CC: Andy Gospodarek <[email protected]>
Signed-off-by: Veaceslav Falico <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions