[dpdk-dev] [PATCH v7 26/27] net/i40e: fix segmentation fault in close
Iremonger, Bernard
bernard.iremonger at intel.com
Mon Jan 9 10:50:04 CET 2017
Hi Jingjing,
> -----Original Message-----
> From: Wu, Jingjing
> Sent: Monday, January 9, 2017 9:44 AM
> To: Iremonger, Bernard <bernard.iremonger at intel.com>; Lu, Wenzhuo
> <wenzhuo.lu at intel.com>; dev at dpdk.org
> Cc: stable at 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.
More information about the dev
mailing list