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: da5f560be966 ("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
..
2017-06-14 22:54:31 +02:00
2017-06-12 10:41:26 +01:00
2017-06-12 10:41:26 +01:00
2015-05-22 16:05:52 +02:00
2017-06-12 10:41:26 +01:00