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

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Apr 7 19:20:31 CEST 2016


> > 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>

Applied, thanks


More information about the dev mailing list