[dpdk-dev] [PATCH v5 1/1] eal: fix resource leak of mapped memory

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jun 20 11:30:15 CEST 2016


2016-06-16 17:14, Marcin Kerlin:
> Patch fixes resource leak in rte_eal_hugepage_attach() where mapped files
> were not freed back to the OS in case of failure. Patch uses the behavior
> of Linux munmap: "It is not an error if the indicated range does not
> contain any mapped pages".
> 
> Coverity issue: 13295, 13296, 13303
> Fixes: af75078fece3 ("first public release")
> 
> Signed-off-by: Marcin Kerlin <marcinx.kerlin at intel.com>
> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>

Applied, thanks


More information about the dev mailing list