diff options
author | Zheng Wang <[email protected]> | 2022-10-01 01:57:25 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-03 12:47:42 +0100 |
commit | 12aece8b01507a2d357a1861f470e83621fbb6f2 (patch) | |
tree | bb9bc5292f1be8f5ea9513c2ba198c481e905968 /scripts/generate_rust_analyzer.py | |
parent | b43f9acbb8942b05252be83ac25a81cec70cc192 (diff) |
eth: sp7021: fix use after free bug in spl2sw_nvmem_get_mac_address
This frees "mac" and tries to display its address as part of the error
message on the next line. Swap the order.
Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
Signed-off-by: Zheng Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions