Re: [dpdk-dev] [PATCH] net/mvpp2: check pointer before using it

2018-06-05 Thread Ferruh Yigit
On 6/4/2018 10:24 AM, Tomasz Duszynski wrote: > Avoid NULL dereference by checking pointer before using it. > > Note that the fixes tag is before the driver was renamed > to mvpp2, so the patch will not apply that far back. > > Fixes: 3588aaa68eab ("net/mrvl: fix HIF objects allocation") > > Sig

[dpdk-dev] [PATCH] net/mvpp2: check pointer before using it

2018-06-04 Thread Tomasz Duszynski
Avoid NULL dereference by checking pointer before using it. Note that the fixes tag is before the driver was renamed to mvpp2, so the patch will not apply that far back. Fixes: 3588aaa68eab ("net/mrvl: fix HIF objects allocation") Signed-off-by: Tomasz Duszynski --- drivers/net/mvpp2/mrvl_ethd