Re: [dpdk-dev] [PATCH] ip_frag: free mbufs on reassembly table destroy

2017-06-05 Thread Legacy, Allain
> -Original Message- > From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] > Sent: Sunday, June 04, 2017 12:21 PM <..> > > > > +/* delete fragmentation table */ > > +void > > +rte_ip_frag_table_destroy(struct rte_ip_frag_tbl *tbl) > > +{ > > + uint32_t i; > > + > > + for (i

Re: [dpdk-dev] [PATCH] ip_frag: free mbufs on reassembly table destroy

2017-06-04 Thread Ananyev, Konstantin
Hu Allain, > -Original Message- > From: Allain Legacy [mailto:allain.leg...@windriver.com] > Sent: Tuesday, April 25, 2017 6:05 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Osman, Dahir (Wind River) > Subject: [PATCH] ip_frag: free mbufs on reassembly table destroy > > From: Dahir O

[dpdk-dev] [PATCH] ip_frag: free mbufs on reassembly table destroy

2017-04-25 Thread Allain Legacy
From: Dahir Osman 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 fr