[dpdk-dev] [PATCH v2] vhost: fix double-free with zero-copy

Ferruh Yigit ferruh.yigit at intel.com
Tue Jul 21 16:58:55 CEST 2020


On 7/21/2020 10:16 AM, Maxime Coquelin wrote:
> 
> 
> On 7/21/20 2:10 PM, patrick.fu at intel.com wrote:
>> From: Patrick Fu <patrick.fu at intel.com>
>>
>> zmbufs should be set to NULL when getting freed to avoid double free on
>> the same buffer pointer
>>
>> Fixes: b0a985d1f340 ("vhost: add dequeue zero copy")
>>
>> Signed-off-by: Patrick Fu <patrick.fu at intel.com>
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> 

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


More information about the dev mailing list