Yuanhan Liu 834ac655ba net/virtio: fix crash on null dereference
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@6wind.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-07-22 00:30:08 +02:00
..
2016-07-10 14:55:42 +02:00
2016-07-11 17:48:49 +02:00
2016-07-15 22:31:06 +02:00
2016-07-15 23:01:15 +02:00
2016-07-10 14:51:09 +02:00
2016-07-08 22:55:19 +02:00
2016-06-20 17:21:54 +02:00