[dpdk-dev] [PATCH v2] ip_frag: free mbufs on reassembly table	destroy
    Thomas Monjalon 
    thomas at monjalon.net
       
    Thu Jun 22 17:56:29 CEST 2017
    
    
  
> > From: Dahir Osman <dahir.osman at 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.peters at windriver.com>
> > Signed-off-by: Allain Legacy <allain.legacy at windriver.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Applied, thanks
    
    
More information about the dev
mailing list