[dpdk-dev] [PATCH] app/testpmd: fix testpmd exit using ctrl+d

Thomas Monjalon thomas at monjalon.net
Tue Jul 24 13:25:23 CEST 2018


23/07/2018 12:44, Jasvinder Singh:
> Fix testpmd app exit by pressing ctrl+d, End-of-Transmission character (EOT)
> on the empty command line.

Please describe what is the issue and what is the cause.

> Fixes: 0ad778b398c6 ("app/testpmd: rework softnic forward mode")
> 
> Reported-by: Mordechay Haimovsky <motih at mellanox.com>
> Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
> ---
>  app/test-pmd/cmdline.c       | 10 ++++++----
>  lib/librte_cmdline/cmdline.c |  2 +-

It is very suspicious to change the cmdline library.
If there is a bug in this library, it deserves a separate fix.





More information about the dev mailing list