Re: [PATCH] eth: sp7021: fix use after free bug in spl2sw_nvmem_get_mac_address

From: patchwork-bot+netdevbpf
Date: Mon Oct 03 2022 - 07:50:28 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Sat, 1 Oct 2022 01:57:25 +0800 you wrote:
> 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@xxxxxxx>
> ---
> drivers/net/ethernet/sunplus/spl2sw_driver.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- eth: sp7021: fix use after free bug in spl2sw_nvmem_get_mac_address
https://git.kernel.org/netdev/net/c/12aece8b0150

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html