net/ena/base: initialize memory in the allocation macros
authorAlexander Matushevsky <matua@amazon.com>
Tue, 4 Jul 2017 13:51:53 +0000 (15:51 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commit2861ea8df0173f047efe2636ef3b9643d4d989bc
tree614a672735c748a3d70906c72a6162e07b8c54c6
parent207a514ce516f8ab3c1ad2b0f930f045b90b773c
net/ena/base: initialize memory in the allocation macros

Uninitialized memory could cause memory corruption, by indicating
completion of the invalid mbuf.

Fixes: 3d3edc265fc8 ("net/ena: make coherent memory allocation NUMA-aware")
Cc: stable@dpdk.org
Signed-off-by: Alexander Matushevsky <matua@amazon.com>
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/base/ena_plat_dpdk.h