event/dlb2: fix mempool query in self test
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Thu, 5 Nov 2020 21:22:52 +0000 (15:22 -0600)
committerJerin Jacob <jerinj@marvell.com>
Thu, 12 Nov 2020 17:40:18 +0000 (18:40 +0100)
commit47dc89fefaa72d0f108e9847df22167b1ea609b9
treea7c11200d7db1a136056283295c5555f505a331c
parent76a1e914d57a850ef832961531b545ce67430b4d
event/dlb2: fix mempool query in self test

Add NULL check before using t->mbuf_pool.

Coverity issue: 363719
Fixes: 6f1b828 ("event/dlb2: add self-tests")

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
drivers/event/dlb2/dlb2_selftest.c