> Currently, private_data_offset for the sessionless is computed > wrongly which includes extra bytes added by > sizeof(struct rte_crypto_sym_xform) * 2. This causes buffer > overflow which leads to test application crash while freeing the > ops mempool. This patch provides fix for the same and also takes > care of increasing the length of ops to accommodate space for > rte_event_crypto_metadata while creating the crypto ops mempool. > > Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test") > Reported-by: ciara.po...@intel.com > > Signed-off-by: Abhinandan Gujjar <abhinandan.guj...@intel.com> > --- > > v2: > - Fix length calculation for copying metadata > - Update mempool's size to accommodate space for metadata Acked-by: Akhil Goyal <gak...@marvell.com>
Applied to dpdk-next-crypto