aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-11-08 02:56:07 +0000
committerJakub Kicinski <[email protected]>2022-11-09 01:19:23 +0000
commit519b58bbfa825f042fcf80261cc18e1e35f85ffd (patch)
treea860a01d73af32e4ca70045e31d14da7ad0851ce /drivers/net/ethernet/intel/ice/ice_lib.c
parentMerge tag 'linux-can-fixes-for-6.1-20221107' of git://git.kernel.org/pub/scm/... (diff)
downloadkernel-519b58bbfa825f042fcf80261cc18e1e35f85ffd.tar.gz
kernel-519b58bbfa825f042fcf80261cc18e1e35f85ffd.zip
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
When prestera_sdma_switch_init() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested. Fixes: 501ef3066c89 ("net: marvell: prestera: Add driver for Prestera family ASIC devices") Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: Vadym Kochan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions