> -Original Message-
> From: Zhou, YidingX
> Sent: Thursday, May 12, 2022 6:49 PM
> To: dev@dpdk.org; Wu, Jingjing ; Xing, Beilei
>
> Cc: Zhang, Qi Z ; sta...@dpdk.org
> Subject: [PATCH v3] net/iavf: fix segfaults when calling API after VF reset
> failed
&g
Some pointers will be set to NULL when iavf_dev_reset() failed,
for example vf->vf_res, vf->vsi_res vf->rss_key and etc.
APIs access these NULL pointers will trigger segfault.
This patch adds closed flag to indicate that the VF is closed,
and rejects API calls in this state to avoid coredump.
Fix
2 matches
Mail list logo