[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231201093558.GR32077@kernel.org>
Date: Fri, 1 Dec 2023 09:35:58 +0000
From: Simon Horman <horms@...nel.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Ivan Babrou <ivan@...udflare.com>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 2/4] af_unix: Return struct unix_sock from
unix_get_socket().
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 <kuniyu@...zon.com>
Thanks Iwashima-san,
this looks like a nice clean-up to me.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists