> -----Original Message----- > From: Xing, Beilei <beilei.x...@intel.com> > Sent: Friday, November 18, 2022 3:03 PM > To: Wu, Jingjing <jingjing...@intel.com> > Cc: dev@dpdk.org; Peng, Yuan <yuan.p...@intel.com>; Xing, Beilei > <beilei.x...@intel.com> > Subject: [PATCH v3] net/idpf: fix crash when launching l3fwd > > From: Beilei Xing <beilei.x...@intel.com> > > There's core dump when launching l3fwd with 1 queue 1 core. It's because > NULL pointer is used if fail to configure device. > This patch removes incorrect check during device configuration, and checks > NULL pointer when executing VIRTCHNL2_OP_DEALLOC_VECTORS. > > Fixes: 549343c25db8 ("net/idpf: support device initialization") > Fixes: 70675bcc3a57 ("net/idpf: support RSS") > Fixes: 37291a68fd78 ("net/idpf: support write back based on ITR expire") > > Signed-off-by: Beilei Xing <beilei.x...@intel.com>
Tested-by: Peng, Yuan <yuan.p...@intel.com>