[dpdk-dev] pcap: memory leak in eth_pcap_rx_jumbo
Ferruh Yigit
ferruh.yigit at intel.com
Mon Sep 19 10:50:57 CEST 2016
Hi Dror,
On 9/18/2016 12:14 PM, Dror Birkman wrote:
> Hi,
>
> It seems there is a memory leak in eth_pcap_rx_jumbo() in
> case rte_pktmbuf_alloc() fails on any segment that is not the initial
> segment.
>
> If someone can confirm it, I'll patch it.
>
I think you are right. If rte_pktmbuf_alloc() fails, previously
allocated mbufs, including first one in the segment, not freed.
Thanks,
ferruh
More information about the dev
mailing list