af_unix: Factorise unix_find_other() based on address types.
authorKuniyuki Iwashima <kuniyu@amazon.co.jp>
Wed, 24 Nov 2021 02:14:21 +0000 (11:14 +0900)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Nov 2021 02:01:54 +0000 (18:01 -0800)
commitfa39ef0e472961baef49ddb0e6f7b8ebb555bd8f
tree58bfa35ce6160b5849342e6aaab52e21805ec374
parentf7ed31f4615f4e1d97c0e4325c5b8a240e10073c
af_unix: Factorise unix_find_other() based on address types.

As done in the commit fa42d910a38e ("unix_bind(): take BSD and abstract
address cases into new helpers"), this patch moves BSD and abstract address
cases from unix_find_other() into unix_find_bsd() and unix_find_abstract().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/unix/af_unix.c