Thread (4 messages) 4 messages, 2 authors, 2016-06-28

Re: [PATCH v2] enic: fix free function to actually free memory

From: Bruce Richardson <hidden>
Date: 2016-06-28 11:09:38

On Thu, Jun 23, 2016 at 04:14:58PM -0700, Nelson Escobar wrote:
enic_alloc_consistent() allocated memory, but enic_free_consistent()
was an empty function, so allocated memory was never freed.

This commit adds a list and lock to the enic structure to keep track
of the memzones allocated in enic_alloc_consistent(), and
enic_free_consistent() uses that information to properly free memory.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: John Daley <redacted>
Applied to dpdk-next-net/rel_16_07

/Bruce
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help