Re: [dpdk-dev] [PATCH v4 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Burakov, Anatoly
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 wer

[dpdk-dev] [PATCH v4 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Herakliusz Lipiec
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 all