[dpdk-stable] [dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

Burakov, Anatoly anatoly.burakov at intel.com
Thu Apr 25 11:37:59 CEST 2019


On 23-Apr-19 6:43 PM, Herakliusz Lipiec wrote:
> When sending multiple requests, rte_mp_request_sync
> can succeed sending a few of those requests, but then
> fail on a later one and in the end return with rc=-1.
> The upper layers - e.g. device hotplug - currently
> handles this case as if no messages were sent and no
> memory for response buffers was allocated, which is
> not true. Fixed by always initializing message buffer
> to NULL.
> Bugzilla ID: 228
> Fixes: 783b6e54971d ("eal: add synchronous multi-process communication")
> Cc: jianfeng.tan at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec at intel.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

This is being reworked for the moment, so please don't merge this just yet.

-- 
Thanks,
Anatoly


More information about the stable mailing list