On 4/17/2020 1:03 PM, wangyunjian wrote:
> From: Yunjian Wang <[email protected]>
> 
> 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: [email protected]
> 
> Signed-off-by: Yunjian Wang <[email protected]>

Reviewed-by: Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.

Reply via email to