[PATCH] pdump: do not allow enable/disable in primary process

David Marchand david.marchand at redhat.com
Fri Oct 21 15:08:57 CEST 2022


On Wed, Oct 19, 2022 at 6:37 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> 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: 660098d61f57 ("pdump: use generic multi-process channel")
Cc: stable at dpdk.org

> Reported-by: Sylvia Grundwürmer <sylvia.grundwuermer at b-plus.com>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list