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(-) -- 2.26.2