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

Ferruh Yigit ferruh.yigit at intel.com
Sat Apr 18 01:57:16 CEST 2020


On 4/17/2020 1:03 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> 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 at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list