[dpdk-dev] [PATCH v1] vhost: set zmbufs to NULL when freed

Ferruh Yigit ferruh.yigit at intel.com
Mon Jul 20 18:49:40 CEST 2020


On 7/20/2020 4:51 PM, Maxime Coquelin wrote:
> Do you agree with below title?
> vhost: fix double-free with zero-copy

Existing commit dropped from next-net and patchwork status updated.

> 
> Thanks,
> Maxime
> 
> On 7/15/20 5:58 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>

<...>


More information about the dev mailing list