[dpdk-stable] [dpdk-dev] [PATCH] net/pcap: fix issue with unnecessary mbufs freeing

Ferruh Yigit ferruh.yigit at intel.com
Thu Jul 11 16:15:43 CEST 2019


On 7/11/2019 2:59 PM, A.McLoughlin wrote:
> In the eth_pcap_tx() and eth_pcap_tx_dumper() functions mbufs were freed
> without incrementing num_tx. To fix the issue, the mbuf freeing was
> removed as it was not of any benefit.
> 
> Fixes: 6db141c91e1f ("pcap: support jumbo frames")
> Cc: stable at dpdk.org
> Cc: tero.aho at coriant.com
> 
> Signed-off-by: A.McLoughlin <aideen.mcloughlin at intel.com>

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

(It may be good to mention PMD was freeing the mbuf without notifying the app,
which may lead double freeing of the mbuf (crash) or app using invalid mbuf.
I will add while merging.)


More information about the stable mailing list