On Fri, May 17, 2019 at 10:15:08AM +0200, David Marchand wrote:
We currently have no check on the mempool pointer passed to
rte_eth_rx_queue_setup.
Let's avoid a plain crash when dereferencing it.
Suggested-by: Jens Freimann <jfreim...@redhat.com>
Signed-off-by: David Marchand <david.march...@redhat.com>
---
lib/librte_ethdev/rte_ethdev.c | 5 +++++
lib/librte_ethdev/rte_ethdev.h | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
Thanks David!
Reviewed-by: Jens Freimann <jfreim...@redhat.com>