af_unix: take address assignment/hash insertion into a new helper
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Jun 2021 03:50:26 +0000 (03:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 19:28:49 +0000 (12:28 -0700)
commit185ab886d3fb283e837283c343bf539c371e26cf
tree84588af36d7a0919e79a11985e79c45ef0e39459
parent43c9a8111680043d065025510a034336417084d1
af_unix: take address assignment/hash insertion into a new helper

Duplicated logics in all bind variants (autobind, bind-to-path,
bind-to-abstract) gets taken into a common helper.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c