diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2025-01-03 20:38:47 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-06 16:40:26 -0800 |
commit | c8dafb0e4398dacc362832098a04b97da3b0395b (patch) | |
tree | 03bdd7a4704e4d67fe614d6cabdb77eb64e7910b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c817eb26230dc0ae553cee16ff43a4a895f6756 (diff) |
bnxt_en: Fix possible memory leak when hwrm_req_replace fails
When hwrm_req_replace() fails, the driver is not invoking bnxt_req_drop()
which could cause a memory leak.
Fixes: bbf33d1d9805 ("bnxt_en: update all firmware calls to use the new APIs")
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250104043849.3482067-2-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions