[PATCH] app/test: fix stack overflow in fib6_perf_autotest
Stephen Hemminger
stephen at networkplumber.org
Mon Dec 23 22:30:00 CET 2024
On Mon, 23 Dec 2024 13:10:33 -0800
Andre Muezerie <andremue at linux.microsoft.com> wrote:
> From: Andre Muezerie <andremue at linux.microsoft.com>
> To: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Cc: dev at dpdk.org, Andre Muezerie <andremue at linux.microsoft.com>
> Subject: [PATCH] app/test: fix stack overflow in fib6_perf_autotest
> Date: Mon, 23 Dec 2024 13:10:33 -0800
> X-Mailer: git-send-email 1.8.3.1
>
> Test fib6_perf_autotest was hitting a stack overflow on Windows
> with MSVC.
>
> The fix is to move some of the data from the stack to the heap.
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
Use regular malloc please.
rte_malloc comes from hugepages which are more limited and slower to manipulate.
More information about the dev
mailing list