[dpdk-dev] [PATCH] vhost: call rte_vhost_enable_guest_notification only on enabled queues

Yuanhan Liu yuanhan.liu at linux.intel.com
Thu Apr 7 17:42:35 CEST 2016


On Wed, Apr 06, 2016 at 05:29:06PM -0700, Rich Lane wrote:
> If the vhost PMD were configured with more queues than the guest, the old
> code would segfault in rte_vhost_enable_guest_notification due to a NULL
> virtqueue pointer.
> 
> Fixes: ee584e9710b9 ("vhost: add driver on top of the library")
> Signed-off-by: Rich Lane <rich.lane at bigswitch.com>

Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Thanks.

	--yliu


More information about the dev mailing list