> -----Original Message-----
> From: Yunjian Wang <[email protected]>
> Sent: Monday, December 18, 2023 11:08 AM
> To: [email protected]
> Cc: Zhang, Qi Z <[email protected]>; Yang, Qiming <[email protected]>;
> Wu, Wenjun1 <[email protected]>; [email protected];
> [email protected]; Yunjian Wang <[email protected]>;
> [email protected]
> Subject: [PATCH v2 RESEND] net/ixgbe: fix memoy leak after device init failure
>
> In ixgbe_ipsec_ctx_create() allocated memory for the 'security_ctx', we should
> free it when errors occur, otherwise it will lead to memory leak.
>
> Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec")
> Cc: [email protected]
>
> Signed-off-by: Yunjian Wang <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi