summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio
diff options
context:
space:
mode:
authorZheng Wang <zyytlz.wz@163.com>2022-10-01 01:57:25 +0800
committerDavid S. Miller <davem@davemloft.net>2022-10-03 12:47:42 +0100
commit12aece8b01507a2d357a1861f470e83621fbb6f2 (patch)
treebb9bc5292f1be8f5ea9513c2ba198c481e905968 /drivers/net/hamradio
parentb43f9acbb8942b05252be83ac25a81cec70cc192 (diff)
downloadlinux-12aece8b01507a2d357a1861f470e83621fbb6f2.tar.bz2
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 <zyytlz.wz@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions