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.
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
2 matches
Mail list logo