test/crypto: fix mbuf reset after null check
authorThierry Herbelot <thierry.herbelot@6wind.com>
Mon, 24 May 2021 09:01:13 +0000 (11:01 +0200)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 7 Jul 2021 19:28:39 +0000 (21:28 +0200)
commit2b81eb2c992b2e3728b8866cf6199cfd3b5fd776
tree06d0a9142d1e3db25fbce28fe4cde3fb5aa89539
parentc84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2
test/crypto: fix mbuf reset after null check

Use m only after it was checked not to be NULL.

Fixes: 202d375c60bc1 ("app/test: add cryptodev unit and performance tests")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.c