aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-11-22 22:35:33 +0100
committerDavid S. Miller <[email protected]>2021-11-23 12:12:37 +0000
commitc75a9ad43691de040bead75f1924928111571f9c (patch)
treeb4e8142ddeee16769170103cda3d71964145267f /lib/test_overflow.c
parent52911bb62ed82f0ba4dfddcd1540494d78b1a717 (diff)
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 <[email protected]> Tested-by: Richard Herbert <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions