> -----Original Message-----
> From: Allain Legacy [mailto:allain.leg...@windriver.com]
> Sent: Monday, June 5, 2017 4:49 PM
> To: Ananyev, Konstantin <konstantin.anan...@intel.com>
> Cc: dev@dpdk.org; Osman, Dahir (Wind River) <dahir.os...@windriver.com>
> Subject: [PATCH v2] ip_frag: free mbufs on reassembly table destroy
> 
> From: Dahir Osman <dahir.os...@windriver.com>
> 
> The rte_ip_frag_table_destroy procedure simply releases the memory for the
> table without freeing the packet buffers that may be referenced in the hash
> table for in-flight or incomplete packet reassembly operations.  To prevent
> leaked mbufs go through the list of fragments and free each one
> individually.
> 
> Fixes: 416707812c03 ("ip_frag: refactor reassembly code into a proper 
> library")
> 
> Reported-by: Matt Peters <matt.pet...@windriver.com>
> Signed-off-by: Allain Legacy <allain.leg...@windriver.com>
> ---


Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>

Reply via email to