net/ena: store handle after memory allocation
authorMichal Krawczyk <mk@semihalf.com>
Thu, 7 Jun 2018 09:43:21 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commitcacd18760652cc92d978d52edf07b327c144cc6f
tree18fb1cb83e162778187bcde075de6d69f78e5e28
parent7544aee8d0b4ae0262b1ba7e1539cf8171664df7
net/ena: store handle after memory allocation

The pointer received from rte_memzone_reserve from macro
ENA_MEM_ALLOC_COHERENT_NODE was not stored anywhere, and as a result
memory allocated by this macro could not been released.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/base/ena_plat_dpdk.h