[PATCH net 0/2] octeontx2-pf: Fix several bugs in exception paths

From: Ziyang Xuan
Date: Fri Nov 25 2022 - 02:45:31 EST


Find several obvious bugs during code review in exception paths. Provide
this patchset to fix them. Not tested, just compiled.

Ziyang Xuan (2):
octeontx2-pf: Fix potential memory leak in otx2_init_tc()
octeontx2-pf: Fix a potential double free in otx2_sq_free_sqbs()

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 1 +
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)

--
2.25.1