summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c
diff options
context:
space:
mode:
authorNick Child <nnac123@linux.ibm.com>2022-10-31 18:06:42 +0300
committerJakub Kicinski <kuba@kernel.org>2022-11-03 06:30:51 +0300
commitd6dd2fe71153f0ff748bf188bd4af076fe09a0a6 (patch)
treeb079109dfb666197609d64a521950b6b7c90b85b /drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c
parent40e4eb324c59e11fcb927aa46742d28aba6ecb8a (diff)
downloadlinux-d6dd2fe71153f0ff748bf188bd4af076fe09a0a6.tar.xz
ibmvnic: Free rwi on reset success
Free the rwi structure in the event that the last rwi in the list processed successfully. The logic in commit 4f408e1fa6e1 ("ibmvnic: retry reset if there are no other resets") introduces an issue that results in a 32 byte memory leak whenever the last rwi in the list gets processed. Fixes: 4f408e1fa6e1 ("ibmvnic: retry reset if there are no other resets") Signed-off-by: Nick Child <nnac123@linux.ibm.com> Link: https://lore.kernel.org/r/20221031150642.13356-1-nnac123@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c')
0 files changed, 0 insertions, 0 deletions