eal: lock IPC directory on init and send
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 13 Mar 2018 17:42:38 +0000 (17:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Mar 2018 17:42:39 +0000 (18:42 +0100)
commit89f1fe7e6d9523eb265be93f70d51a42a2ecb624
tree079461a9f4d51c774d29dd19eea3a13516d8063e
parenta8075ad61e5d27b36087ccd3c9ceedc907b8de55
eal: lock IPC directory on init and send

When sending IPC messages, prevent new sockets from initializing.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
lib/librte_eal/common/eal_common_proc.c