[PATCH v2 3/5] ipc: fix mp channel closure to prevent message loss

Burakov, Anatoly anatoly.burakov at intel.com
Wed Mar 13 17:06:04 CET 2024


On 3/7/2024 8:01 AM, Artemy Kovalyov wrote:
> This commit addresses an issue related to the cleanup of the
> multiprocess channel. Previously, when closing the channel, there was a
> risk of losing trailing messages. This issue was particularly noticeable
> when broadcast message from primary to secondary processes was sent
> while a secondary process was closing it's mp channel. In this fix, we
> delete mp socket file before stopping mp receive thread.
> 
> Fixes: e7885281ded1 ("ipc: stop mp control thread on cleanup")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Artemy Kovalyov <artemyko at nvidia.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly



More information about the stable mailing list