Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix fd leak in dirty logging setup
[ upstream commit 6dc3f11 ] This patch fixes a file descriptor leak which happens in the error path of vhost_user_set_log_base(). Fixes: 4796ad6 ("examples/vhost: import userspace vhost application") Reported-by: Xuan Ding <xuan.ding@intel.com> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Reviewed-by: Xueming Li <xuemingl@nvidia.com>
- Loading branch information