Re: [dpdk-dev] [PATCH] net/pcap: fix fd leak on uninit

2021-03-03 Thread Ferruh Yigit
On 3/2/2021 4:51 PM, Tengfei Zhang wrote: pcap fd was opend when vdev probed, but not closed when vdev removed. Fixes: c956caa6eabf ("pcap: support port hotplug") Cc: sta...@dpdk.org Signed-off-by: Tengfei Zhang Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.

[dpdk-dev] [PATCH] net/pcap: fix fd leak on uninit

2021-03-02 Thread Tengfei Zhang
pcap fd was opend when vdev probed, but not closed when vdev removed. Fixes: c956caa6eabf ("pcap: support port hotplug") Cc: sta...@dpdk.org Signed-off-by: Tengfei Zhang --- drivers/net/pcap/rte_eth_pcap.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/ne