net/memif: allow for full key size in socket name
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 16 Jul 2019 17:20:57 +0000 (10:20 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:52 +0000 (15:00 +0200)
commitb923866c697450ae927c4d167a83ea46eee55aa6
tree4906d37c85a5b0d1e7a897a2087cee0e26e5d655
parent6f1c9df9e9cc0be68c26df6b8040a4391717b096
net/memif: allow for full key size in socket name

The key size for memif is 256 but the unix domain socket structure has
space for 100 bytes. Change it to use a larger buffer and not hard
code the keysize everywhere.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Tested-by: Jakub Grajciar <jgrajcia@cisco.com>
drivers/net/memif/memif_socket.c
drivers/net/memif/memif_socket.h