[dpdk-dev] [PATCH v4 4/5] net/tap: fix close a valid fd

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 15 17:13:22 CEST 2020


On 4/11/2020 12:24 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> The internal structure is freed and set to NULL in the
> rte_eth_dev_release_port() and zero is a valid fd. Ultimately
> leads to a valid fd was closed by mistake.
> 
> Fixes: 3101191c63ab ("net/tap: fix device removal when no queue exist")
> CC: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list