On 4/11/2020 12:24 PM, wangyunjian wrote: > From: Yunjian Wang <wangyunj...@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: sta...@dpdk.org > > Signed-off-by: Yunjian Wang <wangyunj...@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>