On Mon, Jul 3, 2023 at 12:31 PM Burakov, Anatoly <anatoly.bura...@intel.com> wrote: > On 6/28/2023 1:19 PM, Viacheslav Ovsiienko wrote: > > The sendmsg()/recvmsg() API is used to establish communication between > > the DPDK processes. The API supposes inter-process file descriptors > > sending and conversion, the recipient sees the resulting descriptors > > in the received message - the operating systems creates ones in the > > right context. > > > > The message receiving is performed by EAL in the dedicated thread > > and it might happen the message is received by EAL and not handled > > by addressed PMD or application due to some reasons (timeouts, race > > condition, etc). EAL just dropped unhandled messages causing the > > file descriptor leakage if these ones were presented in the message. > > > > The patch closes the descriptors (if any) in unhandled messages. > > > > Fixes: 783b6e54971 ("eal: add synchronous multi-process communication")
Fixed the Fixes: tag (12 digits for hash). > > Cc: sta...@dpdk.org > > > > Signed-off-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> Acked-by: Chengwen Feng <fengcheng...@huawei.com> > Acked-by: Anatoly Burakov <anatoly.bura...@intel.com> Applied, thanks. -- David Marchand