AI review of a patch to traffic management code identified a couple of
small memory leaks in that function. When fixing those, I then asked AI
to identify other similar leaks other Intel drivers, leading to this
patchset.
V3: update based on feedback on v2:
- fix log message on patch 3,
- add additional free on close in patch 5
V2: expand from 2 patches to 6 to cover some more leaks
Bruce Richardson (6):
net/iavf: fix local memory leaks in TM hierarchy commit
net/iavf: fix leak of queue to traffic class mapping data
net/iavf: fix memory leak on error when adding flow parser
net/ice: fix buffer leak in config of Tx queue TM node
net/iavf: fix leak of flex metadata extraction field
net/iavf: fix leak of IPsec crypto capabilities array
drivers/net/intel/iavf/iavf_ethdev.c | 7 +++++
drivers/net/intel/iavf/iavf_generic_flow.c | 1 +
drivers/net/intel/iavf/iavf_ipsec_crypto.c | 2 ++
drivers/net/intel/iavf/iavf_tm.c | 31 +++++++++++++++-------
drivers/net/intel/ice/ice_tm.c | 6 +++--
5 files changed, 36 insertions(+), 11 deletions(-)
--
2.53.0