Yunjian Wang 13b698d11f net/tap: fix queues fd check before close
The fd is possibly a negative value while it is passed as an
argument to function "close". Fix the check to the fd.

Fixes: ed8132e7c912 ("net/tap: move fds of queues to be in process private")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-04-21 13:57:09 +02:00
..
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:18 +02:00
2018-04-11 01:47:47 +02:00
2018-04-27 18:00:59 +01:00
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2018-04-11 01:47:47 +02:00