[PATCH v3] Revert "examples/symmetric_mp: do not print or exit in handler"
David Marchand
david.marchand at redhat.com
Mon Nov 2 15:41:32 CET 2026
On Tue, 27 Oct 2026 at 21:30, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> This reverts commit 9a0b3c409db1963a92d0a91868b1e45254845a8c.
>
> With that change the primary calls rte_eal_cleanup() on SIGINT
> while secondaries are still polling the shared queues, which
> crashes the secondaries.
>
> Doing shutdown correctly in a multi-process application needs
> both processes to monitor each other and handle termination and
> unexpected exit. That is too complex for an example; go back to
> the simple exit from the signal handler.
>
> Bugzilla ID: 2069
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list