af_unix: Return struct unix_sock from unix_get_socket().
commit 5b17307b upstream. Currently, unix_get_socket() returns struct sock, but after calling it, we always cast it to unix_sk(). Let's return struct unix_sock from unix_get_socket(). Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by:
Pavel Begunkov <asml.silence@gmail.com> Reviewed-by:
Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240123170856.41348-4-kuniyu@amazon.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit 83f8774c
-
mentioned in commit a8770088
-
mentioned in commit df3cc29a
-
mentioned in commit d3495af2
-
mentioned in commit c6b53403
-
mentioned in commit 9290976b
-
mentioned in commit 58e3b3d0
-
mentioned in commit e575a340
-
mentioned in commit 25f9c35c
-
mentioned in commit d45e77b4
-
mentioned in commit 9d63fd14
-
mentioned in commit e09cad7c
-
mentioned in commit 45271a2c
Please sign in to comment