[dpdk-dev] [PATCH] ethdev: add a check on mempool during rxq setup

Andrew Rybchenko arybchenko at solarflare.com
Wed Jun 5 18:46:29 CEST 2019


On 5/17/19 11:15 AM, 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 <jfreimann at redhat.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the dev mailing list