Hi Jingjing, > -----Original Message----- > From: Wu, Jingjing > Sent: Monday, January 9, 2017 9:44 AM > To: Iremonger, Bernard <bernard.iremon...@intel.com>; Lu, Wenzhuo > <wenzhuo...@intel.com>; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v7 26/27] net/i40e: fix segmentation fault in > close > > > > > All of the VSI's are released in the call to > > i40e_vsi_release(pf->main_vsi) at line 1895. > > This function is recursive and release all the VSI's. > > > > There is still a VSI address in pf->vmdq[i].vsi but calling > > i40e_vsi_release(pf- > > >vmdq[i].vsi); > > Results in a segmentation fault. > > > Thanks for the clarification. > > You are correct. What I prefer is to move the code to release vmdq vsis to > before the i40e_vsi_release(pf->main_vsi); > > What do you think? > > Thanks > Jingjing
I will test it and see what happens. Regards, Bernard.