In the eth_pcap_tx() and eth_pcap_tx_dumper() functions mbufs were freed
without incrementing num_tx.
This may lead application also try to free or use invalid mbuf.
To fix the issue, the mbuf freeing was removed.
Fixes:
6db141c91e1f ("pcap: support jumbo frames")
Cc: stable@dpdk.org
Signed-off-by: Aideen McLoughlin <aideen.mcloughlin@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
mbuf->pkt_len,
RTE_ETHER_MAX_JUMBO_FRAME_LEN);
- rte_pktmbuf_free(mbuf);
break;
}
}
mbuf->pkt_len,
RTE_ETHER_MAX_JUMBO_FRAME_LEN);
- rte_pktmbuf_free(mbuf);
break;
}
}