OSDN Git Service

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)
commitaee515170576609a0aa3413dc06a7f36f05a5fe2
treecd82e8be0415d09628636e51519f3db944ae7203
parentc34d4582518ff83a4848c2d33a46be82e2499a5b
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