[dpdk-dev] [PATCH v2] vhost: fix missing null dev pointer check

Ferruh Yigit ferruh.yigit at intel.com
Fri Jul 17 15:10:56 CEST 2020


On 7/17/2020 9:08 AM, Xia, Chenbo wrote:
> 
>> -----Original Message-----
>> From: Fu, Patrick <patrick.fu at intel.com>
>> Sent: Thursday, July 16, 2020 11:38 PM
>> To: dev at dpdk.org; maxime.coquelin at redhat.com; Xia, Chenbo
>> <chenbo.xia at intel.com>
>> Cc: Fu, Patrick <patrick.fu at intel.com>
>> Subject: [PATCH v2] vhost: fix missing null dev pointer check
>>
>> From: Patrick Fu <patrick.fu at intel.com>
>>
>> This patch adds the check of dev pointer in vhost async enqueue completion poll.
>> If a NULL dev pointer detected, the poll function returns immediately.
>>
>> Coverity issue: 360839
>> Fixes: cd6760da1076 ("vhost: introduce async enqueue for split ring")
>>
>> Signed-off-by: Patrick Fu <patrick.fu at intel.com>
> 
> Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list