Re: [dpdk-dev] [RFC 4/5] eal/memory: avoid double munmap in error path

2018-11-06 Thread Thomas Monjalon
06/11/2018 22:49, Stephen Hemminger: > Don't call munmap of hugepage memory twice in the error path. > > Coverity issue: 325730 > Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") > Signed-off-by: Stephen Hemminger Thank you Anatoly submitted the same fix: https://patches.dpd

[dpdk-dev] [RFC 4/5] eal/memory: avoid double munmap in error path

2018-11-06 Thread Stephen Hemminger
Don't call munmap of hugepage memory twice in the error path. Coverity issue: 325730 Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Signed-off-by: Stephen Hemminger --- lib/librte_eal/linuxapp/eal/eal_memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/linu