[dpdk-stable] [PATCH v4 0/3] vhost: fix fd an memory leaks

Maxime Coquelin maxime.coquelin at redhat.com
Fri Nov 13 09:39:35 CET 2020



On 11/12/20 6:10 PM, Maxime Coquelin wrote:
> This series fixes several leaks in Vhost-user requests
> handling.
> 
> Thanks to Xuan Ding from Intel for reporting these
> issues.
> 
> Changes in v4:
> - Fix wrong return value in set_mem_table (Xueming)
> 
> Changes in v3:
> - Remove the right closing of fds. (Chenbo)
> Changes in v2:
> - Fix typos in commit messages. (Chenbo)
> - Remove useless closing of fds in set_log_base. (Chenbo)
> 
> Maxime Coquelin (3):
>   vhost: fix error path when setting memory tables
>   vhost: fix fd leak in dirty logging setup
>   vhost: fix fd leak in kick setup
> 
>  lib/librte_vhost/vhost_user.c | 74 +++++++++++++++++++++++------------
>  1 file changed, 49 insertions(+), 25 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the stable mailing list