Subject: Re: [PATCH v2 net-next 2/4] af_unix: Return struct unix_sock from unix_get_socket().

From: Simon Horman <[email-masked]>
Date: Fri, 1 Dec 2023 09:35:58 +0000

On Wed, Nov 22, 2023 at 05:47:45PM -0800, Kuniyuki Iwashima wrote:
> 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 <[email-masked]>

Thanks Iwashima-san,

this looks like a nice clean-up to me.

Reviewed-by: Simon Horman <[email-masked]>