net/memif: fix Unix domain address length
authorJakub Grajciar <jgrajcia@cisco.com>
Wed, 23 Oct 2019 08:07:32 +0000 (10:07 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:00:22 +0000 (19:00 +0200)
commitd803feec8d23c0c0394809d8fa6e2563607ce180
treed3c35f556c9b0140a013dc660b230b24200c5f25
parentd8e5e69f3a9b14c336ecc31a11a41c92488a1d28
net/memif: fix Unix domain address length

Define MEMIF_SOCKET_UN_SIZE to size of unix domain socket address.
Report error in case of longer path.

Fixes: b923866c6974 ("net/memif: allow for full key size in socket name")

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/memif.rst
drivers/net/memif/memif_socket.c
drivers/net/memif/memif_socket.h
drivers/net/memif/rte_eth_memif.c