[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z9n94NKtHlDtFF0N@LQ3V64L9R2>
Date: Tue, 18 Mar 2025 16:12:32 -0700
From: Joe Damato <jdamato@...tly.com>
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>,
Simon Horman <horms@...nel.org>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next 2/4] af_unix: Move internal definitions to
net/unix/.
On Mon, Mar 17, 2025 at 08:48:49PM -0700, Kuniyuki Iwashima wrote:
> net/af_unix.h is included by core and some LSMs, but most definitions
> need not be.
>
> Let's move struct unix_{vertex,edge} to net/unix/garbage.c and other
> definitions to net/unix/af_unix.h.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
> ---
> include/net/af_unix.h | 76 +-------------------------------------
> net/unix/af_unix.c | 2 +
> net/unix/af_unix.h | 75 +++++++++++++++++++++++++++++++++++++
> net/unix/diag.c | 2 +
> net/unix/garbage.c | 18 +++++++++
> net/unix/sysctl_net_unix.c | 2 +
> net/unix/unix_bpf.c | 2 +
> 7 files changed, 102 insertions(+), 75 deletions(-)
> create mode 100644 net/unix/af_unix.h
Nice clean up.
Reviewed-by: Joe Damato <jdamato@...tly.com>
Powered by blists - more mailing lists