On Sun, Nov 29, 2026 at 01:53:11PM +0000, Anurag Mandal wrote:
> ixgbe_ipsec_ctx_create() stores the newly allocated
> security context in the device before registering the
> security dynamic mbuf field.
> If that registration fails, eth_ixgbe_dev_init()
> returns without freeing the context, and
> rte_eth_dev_release_port() does not free it either.
> 
> Go through the existing error path, which frees the context.
> 
> Fixes: 614af7548968 ("security: switch metadata to dynamic mbuf field")
> Cc: [email protected]
> 
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
>  drivers/net/intel/ixgbe/ixgbe_ethdev.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to