Home
last modified time | relevance | path

Searched hist:"5 b17307bd0789edea0675d524a2b277b93bbde62" (Results 1 – 2 of 2) sorted by relevance

/linux/net/unix/
H A Dgarbage.cdiff 5b17307bd0789edea0675d524a2b277b93bbde62 Tue Jan 23 18:08:54 CET 2024 Kuniyuki Iwashima <kuniyu@amazon.com> 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>
/linux/include/net/
H A Daf_unix.hdiff 5b17307bd0789edea0675d524a2b277b93bbde62 Tue Jan 23 18:08:54 CET 2024 Kuniyuki Iwashima <kuniyu@amazon.com> 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>