20/12/2018 13:51, Qi Zhang: > When secondary process quit, the mp_socket* file still exist, that > cause rte_mp_request_sync fail when try to send message on a floating > socket. > > The patch fix the issue by introduce a function rte_mp_channel_cleanup. > This function will be called by rte_eal_cleanup and it will close the > mp socket and delete the mp_socket* file. > > Fixes: bacaa2754017 ("eal: add channel for multi-process communication") > Cc: sta...@dpdk.org > > Signed-off-by: Qi Zhang <qi.z.zh...@intel.com> [...] > --- a/lib/librte_eal/common/eal_private.h > +++ b/lib/librte_eal/common/eal_private.h > /** > + * Primary/secondary communication cleanup. > + */ > + > +void rte_mp_channel_cleanup(void);
extra blank line above Applied with minor change, thanks