Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/crypto: fix mempool size for session-less
[ upstream commit b812567 ] 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: 3c2c535 ("test: add event crypto adapter auto-test") Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com> Reported-by: Ciara Power <ciara.power@intel.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
- Loading branch information