[dpdk-dev] [PATCH] pdump: fix possible mbuf leak

Thomas Monjalon thomas at monjalon.net
Sun Nov 12 04:13:00 CET 2017


10/11/2017 14:55, Ilya V. Matveychikov:
> If pdump_pktmbuf_copy_data() fails it's possible to have segment leak
> as rte_pktmbuf_free() only handles m_dup chain but not the seg just
> allocated and yet not chained.
> 
> Fixes: 278f945402c5 ("pdump: add new library for packet capture")
> Cc: reshma.pattan at intel.com
> 
> Signed-off-by: Ilya V. Matveychikov <matvejchikov at gmail.com>

Applied, thanks



More information about the dev mailing list