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

Tetsuya Mukawa mukawa at igel.co.jp
Fri Apr 8 09:03:12 CEST 2016


On 2016/04/08 15:14, Yuanhan Liu wrote:
> 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

Yeah, thanks!

Tetsuya


More information about the dev mailing list