Re: [PATCH] net/dpaa2: fix null pointer dereference

2022-01-28 Thread Ferruh Yigit
On 1/25/2022 2:23 PM, Weiguo Li wrote: Check for memory allocation failure is added to avoid null pointer dereference. Fixes: 4690a6114ff6 ("net/dpaa2: enable error queues optionally") Signed-off-by: Weiguo Li Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.

[PATCH] net/dpaa2: fix null pointer dereference

2022-01-25 Thread Weiguo Li
Check for memory allocation failure is added to avoid null pointer dereference. Fixes: 4690a6114ff6 ("net/dpaa2: enable error queues optionally") Signed-off-by: Weiguo Li --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c