eal: do not hardcode socket filter value in IPC
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 13 Mar 2018 17:42:37 +0000 (17:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Mar 2018 17:42:39 +0000 (18:42 +0100)
commita8075ad61e5d27b36087ccd3c9ceedc907b8de55
tree7b8918310dd855ba3f954c55dfebac5651a217b1
parent2e30c3fac4e94417fe2299dea3bb4555e76da4c6
eal: do not hardcode socket filter value in IPC

Currently, filter value is hardcoded and disconnected from actual
value returned by eal_mp_socket_path(). Fix this to generate filter
value by deriving it from eal_mp_socket_path() instead.

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