[dpdk-dev] [PATCH] net/virtio: fix crash on null dereference

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 22 00:31:08 CEST 2016


2016-07-19 10:39, Yuanhan Liu:
> The rxq/txq for the queue_release callback could be NULL, say when
> rte_eth_dev_configure() fails that the queue is not setup at all.
> 
> Do a simple NULL check would fix the crash issue.
> 
> Fixes: 01ad44fd374f ("net/virtio: split Rx/Tx queue")
> 
> Reported-by: Olivier Matz <olivier.matz at 6wind.com>
> Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Applied, thanks


More information about the dev mailing list