diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-11-23 00:35:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-23 15:12:37 +0300 |
commit | c75a9ad43691de040bead75f1924928111571f9c (patch) | |
tree | b4e8142ddeee16769170103cda3d71964145267f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 52911bb62ed82f0ba4dfddcd1540494d78b1a717 (diff) | |
download | linux-c75a9ad43691de040bead75f1924928111571f9c.tar.xz |
r8169: fix incorrect mac address assignment
The original changes brakes MAC address assignment on older chip
versions (see bug report [0]), and it brakes random MAC assignment.
is_valid_ether_addr() requires that its argument is word-aligned.
Add the missing alignment to array mac_addr.
[0] https://bugzilla.kernel.org/show_bug.cgi?id=215087
Fixes: 1c5d09d58748 ("ethernet: r8169: use eth_hw_addr_set()")
Reported-by: Richard Herbert <rherbert@sympatico.ca>
Tested-by: Richard Herbert <rherbert@sympatico.ca>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions