diff options
author | Suresh Reddy <[email protected]> | 2016-09-07 19:57:52 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-09-07 22:44:56 -0700 |
commit | 988d44b1636d7f608bd7926493e0f61a034b61db (patch) | |
tree | 25e065e869aa311b8d5f65b2d6a4a1b17c09c022 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 62259ac4b36e348077635e673f253cc139dd6032 (diff) |
be2net: Avoid redundant addition of mac address in HW
If a mac address is added to the uc_list and later the same mac address
is added via ndo_set_mac_address() or vice versa, the driver does not
detect this condition and tries to add it again. This results in a mac
address collision error when the FW rejects it.
Fix this by checking if the given mac address is present in uc_list while
setting the device mac address and vice versa. Similarly skip deletion if
the address is still in use in the other form.
Signed-off-by: Suresh Reddy <[email protected]>
Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: Sriharsha Basavapatna <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions