> Fix session counter to be decreased in rte_security_session_destroy only when
> session was successfully destroyed.
> 
> Formerly session counter was decreased prior session destroying and returning
> session object to mempool. It remained decreased even if session was not
> destroyed and mempool object released making counter invalid.
> 
> Fixes: c261d1431bd8 ("security: introduce security API and framework")
> Cc: akhil.go...@nxp.com
> 
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Lukasz Wojciechowski <l.wojciec...@partner.samsung.com>

Acked-by: Anoob Joseph <ano...@marvell.com>

Reply via email to