Re: [dpdk-dev] [PATCH] mem: fix incorrect munmap in error unwind

2020-01-07 Thread Burakov, Anatoly
On 06-Jan-20 8:55 PM, Stephen Hemminger wrote: The loop to unwind existing mmaps was only unmapping the first segment. Also, remove obvious redundant assignment. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: anatoly.bura...@intel.com Cc: sta...@dpdk.org Signed-off-by: Stephe

[dpdk-dev] [PATCH] mem: fix incorrect munmap in error unwind

2020-01-06 Thread Stephen Hemminger
The loop to unwind existing mmaps was only unmapping the first segment. Also, remove obvious redundant assignment. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: anatoly.bura...@intel.com Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger --- lib/librte_eal/linux/eal/eal_me