> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, October 14, 2022 7:39 AM
> To: Ruifeng Wang ; Honnappa Nagarahalli
>
> Cc: dev@dpdk.org
> Subject: Unsafe memory access in testpmd
>
> Noticed that test-pmd is using a signal handler to exit.
>
Noticed that test-pmd is using a signal handler to exit.
And that signal handle clears a flag "f_quit".
But that variable is updated without atomic and is not volatile.
Simple fix to use atomic, would fix that part.
But the signal_handler is calling a bunch of functions that are not
safe in a sign
2 matches
Mail list logo