[PATCH] app: do not call printf in signal handlers
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Jun 15 22:14:04 CEST 2023
On Mon, Jun 12, 2023 at 05:11:50PM -0700, Stephen Hemminger wrote:
> Using printf is not async-signal safe and worst case may lead to deadlock.
> Remove printf from signal handlers present in several applications.
>
> Testpmd was already fixed by
> commit 0fd1386c30c3 ("app/testpmd: cleanup cleanly from signal")
>
> Signed-off-by: Prateek Agarwal <prateekag at cse.iitb.ac.in>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list