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

Ferruh Yigit ferruh.yigit at intel.com
Thu Jun 6 17:06:01 CEST 2019


On 6/5/2019 5:46 PM, Andrew Rybchenko wrote:
> 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>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list