net/bnx2x: fix memory leak
authorShahed Shaikh <shshaikh@marvell.com>
Tue, 4 Jun 2019 18:53:50 +0000 (11:53 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:30 +0000 (23:54 +0900)
commit0cf8fdce99764e28c747027570126f965ad71eed
tree1c48251bc578364a4c11b74f9001c72dca5202d4
parentf0219d98defd92297c688855d25294805ec89a3d
net/bnx2x: fix memory leak

bnx2x_free_hsi_mem() does not free DMA memory.
Fix it here.

Fixes: 540a211084a7 ("bnx2x: driver core")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
Acked-by: Rasesh Mody <rmody@marvell.com>
drivers/net/bnx2x/bnx2x.c