numam-dpdk/drivers/net/enic
RongQiang Xie 7f4a1aa143 net/enic: fix possible null pointer dereference
In enic_alloc_consistent() function, if rte_malloc for mze is failed,
!mze is true, memzone should be freed and function should return NULL.

Fixes: da5f560be9 ("net/enic: fix memory freeing")
Cc: stable@dpdk.org

Signed-off-by: RongQiang Xie <xie.rongqiang@zte.com.cn>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-10-06 02:49:47 +02:00
..
base net/enic: fix build with gcc 7.1 2017-06-14 22:54:31 +02:00
enic_clsf.c net/enic: replace check for SSE4 with check for x86 2017-07-04 14:39:18 +02:00
enic_compat.h net/enic: use I/O device memory read/write API 2017-01-18 17:18:26 +01:00
enic_ethdev.c net/enic: flow API skeleton 2017-06-12 10:41:26 +01:00
enic_flow.c net/enic: flow API debug 2017-06-12 10:41:26 +01:00
enic_main.c net/enic: fix possible null pointer dereference 2017-10-06 02:49:47 +02:00
enic_res.c net/enic: flow API for NICs with advanced filters enabled 2017-06-12 10:41:26 +01:00
enic_res.h net/enic: fix memory leak with oversized Tx packets 2017-02-10 12:25:49 +01:00
enic_rxtx.c net/enic: fix crash when freeing 0 packet to mempool 2017-08-03 22:55:32 +02:00
enic.h net/enic: flow API for NICs with advanced filters enabled 2017-06-12 10:41:26 +01:00
LICENSE enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00
Makefile net/enic: flow API skeleton 2017-06-12 10:41:26 +01:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00