[dpdk-dev] [PATCH v7 26/27] net/i40e: fix segmentation fault in close

Wu, Jingjing jingjing.wu at intel.com
Mon Jan 9 10:44:08 CET 2017


> 
> 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


More information about the dev mailing list