numam-dpdk/drivers/net/ena/base
Rafal Kozik 46916aa17d net/ena: check pointer before memset
Need to check if memory allocation succeed before using it.
Using memset on NULL pointer cause segfault.

Fixes: 9ba7981ec9 ("ena: add communication layer for DPDK")
Cc: stable@dpdk.org

Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
2018-06-14 19:27:50 +02:00
..
ena_defs net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00
ena_com.c net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00
ena_com.h net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00
ena_eth_com.c net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00
ena_eth_com.h net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00
ena_plat_dpdk.h net/ena: check pointer before memset 2018-06-14 19:27:50 +02:00
ena_plat.h net/ena: update HAL to the newer version 2018-06-14 19:27:50 +02:00