> -----Original Message-----
> From: Allain Legacy [mailto:[email protected]]
> Sent: Monday, June 5, 2017 4:49 PM
> To: Ananyev, Konstantin <[email protected]>
> Cc: [email protected]; Osman, Dahir (Wind River) <[email protected]>
> Subject: [PATCH v2] ip_frag: free mbufs on reassembly table destroy
> 
> From: Dahir Osman <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Allain Legacy <[email protected]>
> ---


Acked-by: Konstantin Ananyev <[email protected]>

Reply via email to