Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix crash on owner delete

2021-11-05 Thread Ferruh Yigit
On 11/5/2021 1:36 PM, Andrew Rybchenko wrote: On 11/5/21 4:16 PM, Thomas Monjalon wrote: 05/11/2021 04:03, Xia, Chenbo: From: stable On Behalf Of Ferruh Yigit 'eth_dev->data' can be null before ethdev allocated. The API walks through all eth devices, at least for some data can be null. Addi

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix crash on owner delete

2021-11-05 Thread Andrew Rybchenko
On 11/5/21 4:16 PM, Thomas Monjalon wrote: > 05/11/2021 04:03, Xia, Chenbo: >> From: stable On Behalf Of Ferruh Yigit >> >>> 'eth_dev->data' can be null before ethdev allocated. The API walks >>> through all eth devices, at least for some data can be null. >>> >>> Adding 'eth_dev->data' null check

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix crash on owner delete

2021-11-05 Thread Thomas Monjalon
05/11/2021 04:03, Xia, Chenbo: > From: stable On Behalf Of Ferruh Yigit > > > 'eth_dev->data' can be null before ethdev allocated. The API walks > > through all eth devices, at least for some data can be null. > > > > Adding 'eth_dev->data' null check before accessing it. > > > > Fixes: 33c73aae3

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix crash on owner delete

2021-11-04 Thread Xia, Chenbo
> -Original Message- > From: stable On Behalf Of Ferruh Yigit > Sent: Thursday, November 4, 2021 7:04 PM > To: Thomas Monjalon ; Andrew Rybchenko > ; Stephen Hemminger > ; Matan Azrad > Cc: Yigit, Ferruh ; dev@dpdk.org; sta...@dpdk.org; > Matan Azrad > Subject: [dpdk-stable] [PATCH] ethd