Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/iavf: fix core dump when the link is unstable
Physical link instability may cause a core dump because unstable physical links can result in a large number of link change events. Some of these events may be captured by vf before vf resources are allocated, and that will result in a core dump. This commit will check if vf_res is invalid before dereferencing it. Fixes: 5e03e31 ("net/iavf: handle virtchnl event message without interrupt") Cc: stable@dpdk.org Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
- Loading branch information