RE: [EXT] Re: [PATCH v2] test/security: fix buffer leaks in error path

2023-10-31 Thread Akhil Goyal
> > Subject: [PATCH v2] test/security: fix buffer leaks in error path > > Date: Tue, 31 Oct 2023 12:14:46 +0530 > > X-Mailer: git-send-email 2.25.1 > > > > In case of failure of a test in macsec autotest, > > the buffers were not getting cleaned. > > A

Re: [PATCH v2] test/security: fix buffer leaks in error path

2023-10-31 Thread Stephen Hemminger
On Tue, 31 Oct 2023 12:14:46 +0530 Akhil Goyal wrote: > From: Akhil Goyal > To: > CC: , , > , Akhil Goyal , > > Subject: [PATCH v2] test/security: fix buffer leaks in error path > Date: Tue, 31 Oct 2023 12:14:46 +0530 > X-Mailer: git-send-email 2.25.1

RE: [PATCH v2] test/security: fix buffer leaks in error path

2023-10-31 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Akhil Goyal > Sent: Tuesday, October 31, 2023 12:15 PM > To: dev@dpdk.org > Cc: step...@networkplumber.org; Hemant Agrawal > ; vattun...@marvell.com; Akhil Goyal > ; sta...@dpdk.org > Subject: [PATCH v2] t

[PATCH v2] test/security: fix buffer leaks in error path

2023-10-30 Thread Akhil Goyal
In case of failure of a test in macsec autotest, the buffers were not getting cleaned. Added appropriate code to clean the buffers. Fixes: 993ea577a006 ("test/security: add inline MACsec cases") Cc: sta...@dpdk.org Signed-off-by: Akhil Goyal --- - Used rte_pktmbuf_free_bulk as suggested by Steph