[dpdk-dev] [dpdk-stable] [PATCH] net/virtio_user: do not close invalid file descriptor
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Jan 9 16:51:34 CET 2020
On 1/7/20 2:41 AM, Tiwei Bie wrote:
> On Mon, Jan 06, 2020 at 11:18:37AM -0800, Stephen Hemminger wrote:
>> Valgrind complains that virtio_user is calling close(-1).
>> Fix this by adding check in virtio that is similar to existing code.
>>
>> Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer")
>> Cc: jianfeng.tan at intel.com
>> Cc: stable at dpdk.org
>> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>> ---
>> drivers/net/virtio/virtio_user/virtio_user_dev.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
>
Applied to dpdk-next-virtio/master.
Thanks,
Maxime
More information about the dev
mailing list