af_unix: Return struct unix_sock from unix_get_socket().
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>
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 c672789e
-
mentioned in commit ed1d1faf
-
mentioned in commit dde35d93
-
mentioned in commit 04723487
-
mentioned in commit 6ecbe253
-
mentioned in commit 8d345cfd
-
mentioned in commit fa6310a6
-
mentioned in commit 04d5bc1a
-
mentioned in commit d72b64f1
-
mentioned in commit eb240314
-
mentioned in commit 918d514e
Please sign in to comment