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

Tetsuya Mukawa mukawa at igel.co.jp
Fri Apr 8 03:45:33 CEST 2016


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.
I've tested it also today, and seems to be good.

Thanks,
Tetsuya


More information about the dev mailing list