[PATCH v3] net/idpf: fix crash when launching l3fwd

Peng, Yuan yuan.peng at intel.com
Fri Nov 18 10:59:02 CET 2022


> -----Original Message-----
> From: Xing, Beilei <beilei.xing at intel.com>
> Sent: Friday, November 18, 2022 3:03 PM
> To: Wu, Jingjing <jingjing.wu at intel.com>
> Cc: dev at dpdk.org; Peng, Yuan <yuan.peng at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>
> Subject: [PATCH v3] net/idpf: fix crash when launching l3fwd
> 
> From: Beilei Xing <beilei.xing at 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.xing at intel.com>

Tested-by: Peng, Yuan <yuan.peng at intel.com>


More information about the dev mailing list