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

Yuanhan Liu yuanhan.liu at linux.intel.com
Fri Apr 8 08:14:58 CEST 2016


On Fri, Apr 08, 2016 at 10:45:33AM +0900, Tetsuya Mukawa wrote:
> On 2016/04/08 2:20, Thomas Monjalon 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>
> > Applied, thanks
> 
> Hi Rich and Yuanhan,
> 
> I am sorry for late reply. I was out of office yesterday.

Tetsuya, no worry! Man takes leaves, and isn't the reason we have 2 or
more maintainers on some blocks? :)

	--yliu

> I've tested it also today, and seems to be good.
> 
> Thanks,
> Tetsuya


More information about the dev mailing list