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

Thomas Monjalon thomas at monjalon.net
Thu Feb 6 15:17:58 CET 2020


22/01/2020 18:06, Stephen Hemminger:
> The loop to unwind existing mmaps was only unmapping the
> first segment and the error paths after mmap() were not
> doing munmap of the current segment.
> 
> Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists")
> Cc: anatoly.burakov at intel.com
> Cc: stable at dpdk.org
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> v2 - incorporate feedback from David Marchand
>      fix missing munmap of current segment

Applied, thanks





More information about the dev mailing list