Missing pcap assignment may cause pcap opened again, and previous one not closed at all.
Fixes: 1e38a7c66923 ("pcap: fix storage of name and type in queues") Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com> --- drivers/net/pcap/rte_eth_pcap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 021425f..5a2a194 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -883,6 +883,7 @@ rte_eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, struct devargs_queue *queue = &tx_queues->queue[i]; tx->dumper = queue->dumper; + tx->pcap = queue->pcap; snprintf(tx->name, sizeof(tx->name), "%s", queue->name); snprintf(tx->type, sizeof(tx->type), "%s", queue->type); } -- 2.7.4