]> git.baikalelectronics.ru Git - kernel.git/commit
unix_bind(): separate BSD and abstract cases
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Jun 2021 03:50:28 +0000 (03:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 19:28:49 +0000 (12:28 -0700)
commitd0b5ed490a8cc600386fa726c1c83f6a6be0da23
treecd82e8be0415d09628636e51519f3db944ae7203
parentb9e0f6be785ecd732b3f57f8319d0a0d82841c07
unix_bind(): separate BSD and abstract cases

We do get some duplication that way, but it's minor compared to
parts that are different.  What we get is an ability to change
locking in BSD case without making failure exits very hard to
follow.

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