diff options
author | 2021-11-22 22:35:33 +0100 | |
---|---|---|
committer | 2021-11-23 12:12:37 +0000 | |
commit | c75a9ad43691de040bead75f1924928111571f9c (patch) | |
tree | b4e8142ddeee16769170103cda3d71964145267f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-c75a9ad43691de040bead75f1924928111571f9c.tar.xz wireguard-linux-c75a9ad43691de040bead75f1924928111571f9c.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions