Re: [dpdk-dev] [PATCH] net/tap: fix rxq and txq fd check before close

2020-04-17 Thread Ferruh Yigit
On 4/17/2020 1:03 PM, wangyunjian wrote: > From: Yunjian Wang > > 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: sta...@dpdk.org > > Sign

[dpdk-dev] [PATCH] net/tap: fix rxq and txq fd check before close

2020-04-17 Thread wangyunjian
From: Yunjian Wang 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: sta...@dpdk.org Signed-off-by: Yunjian Wang --- drivers/net/tap/rte_eth_tap.c