numam-dpdk/lib/pdump
Stephen Hemminger 8a0cf0c455 pdump: do not allow enable/disable in primary process
Attempts to enable or disable pdump in primary process
will fail with core dump because it is not valid to call
rte_mp_request_sync() unless in a secondary process.

Trap the error in the common code used for both enable
and disable requests.

Fixes: 660098d61f ("pdump: use generic multi-process channel")
Cc: stable@dpdk.org

Reported-by: Sylvia Grundwürmer <sylvia.grundwuermer@b-plus.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-10-21 14:54:26 +02:00
..
meson.build build/windows: remove separate list of libs 2021-10-22 22:40:59 +02:00
rte_pdump.c pdump: do not allow enable/disable in primary process 2022-10-21 14:54:26 +02:00
rte_pdump.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
version.map version: 22.11-rc0 2022-07-21 12:13:48 +02:00