diff options
| author | Veaceslav Falico <[email protected]> | 2013-10-07 09:17:20 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-08 16:06:39 -0400 |
| commit | 4996b9098d5522f9d3233af6a7efd1fac5d43f00 (patch) | |
| tree | 43e37dc27f94f49a21314b25506f89bc07e9b986 /tools/perf/scripts/python/futex-contention.py | |
| parent | 612c337306f00dc8d396830212de51c475844791 (diff) | |
bonding: ensure that TLB mode's active slave has correct mac filter
Currently, in TLB mode we change mac addresses only by memcpy-ing the to
net_device->dev_addr, without actually setting them via
dev_set_mac_address(). This permits us to receive all the traffic always on
one mac address.
However, in case the interface flips, some drivers might enforce the
mac filtering for its FW/HW based on current ->dev_addr, and thus we won't
be able to receive traffic on that interface, in case it will be selected
as active in TLB mode.
Fix it by setting the mac address forcefully on every new active slave that
we select in TLB mode.
CC: Jay Vosburgh <[email protected]>
CC: Andy Gospodarek <[email protected]>
CC: Yuval Mintz <[email protected]>
Reported-by: Yuval Mintz <[email protected]>
Tested-by: Yuval Mintz <[email protected]>
Signed-off-by: Veaceslav Falico <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions