[PATCH] eal: ignore errors from sendmsg on cleanup

Stephen Hemminger stephen at networkplumber.org
Sun Nov 15 19:58:03 CET 2026


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>
---
 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