[PATCH v5] testpmd: cleanup cleanly from signal
Stephen Hemminger
stephen at networkplumber.org
Thu Nov 10 17:13:38 CET 2022
> > + stop_packet_forwarding();
>
> force_quit() calls stop_packet_forwarding() if test_done is 0.
> So, there is no difference in test_done == 0 case.
> If test_done is not zero, stop_packet_forwarding() just logs
> "Packet forwarding not started" and does nothing. So, the
> difference is only in error message. Is it intentional?
>
> > + force_quit();
> > }
Will fix in new version, it was a logic error.
More information about the dev
mailing list