> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Herakliusz Lipiec > Sent: Tuesday, April 23, 2019 7:43 PM > Cc: dev@dpdk.org; Lipiec, Herakliusz <herakliusz.lip...@intel.com>; > jianfeng....@intel.com; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak > > 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....@intel.com > Cc: sta...@dpdk.org > > Signed-off-by: Herakliusz Lipiec <herakliusz.lip...@intel.com> > Acked-by: Anatoly Burakov <anatoly.bura...@intel.com> > ---
Acked-by: Darek Stojaczyk <dariusz.stojac...@intel.com> Thanks!