On 25-Apr-19 1:48 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 freeing memory buffers on failure.Bugzilla ID: 228 Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: [email protected] Cc: [email protected] Signed-off-by: Herakliusz Lipiec <[email protected]> ---
Reviewed-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

