mirror_ubuntu-kernels/drivers/net/ethernet/ibm
Nick Child d6dd2fe711 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 4f408e1fa6 ("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: 4f408e1fa6 ("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>
2022-11-02 20:30:51 -07:00
..
ehea net: ehea: fix possible memory leak in ehea_register_port() 2022-10-27 12:51:41 +02:00
emac net: ibm: emac: Switch to use dev_err_probe() helper 2022-09-21 13:50:03 +01:00
ibmveth.c ibmveth: Ethtool set queue support 2022-09-30 12:40:22 +01:00
ibmveth.h ibmveth: Implement multi queue on xmit 2022-09-30 12:40:22 +01:00
ibmvnic.c ibmvnic: Free rwi on reset success 2022-11-02 20:30:51 -07:00
ibmvnic.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-04-28 13:02:01 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00