[PATCH] eal: ignore errors from sendmsg on cleanup
Loftus, Ciara
ciara.loftus at intel.com
Mon Nov 16 11:20:30 CET 2026
> Subject: [PATCH] eal: ignore errors from sendmsg on cleanup
>
> Silence a warning from Coverity.
> The call to rte_mp_sendmsg here is best effort during cleanup,
> no need to add additional error checking.
>
> Coverity ID: 507471
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> lib/eal/common/eal_common_proc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/eal/common/eal_common_proc.c
> b/lib/eal/common/eal_common_proc.c
> index b70e9189a4..3e1af1325b 100644
> --- a/lib/eal/common/eal_common_proc.c
> +++ b/lib/eal/common/eal_common_proc.c
> @@ -717,7 +717,7 @@ rte_mp_channel_cleanup(void)
> memcpy(&msg.param, &req, sizeof(req));
> msg.len_param = sizeof(req);
>
> - rte_mp_sendmsg(&msg);
> + (void)rte_mp_sendmsg(&msg);
> } else {
> rte_mp_action_unregister(EAL_MP);
> }
> --
> 2.53.0
More information about the dev
mailing list