[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoBCs2o=KJ=iWPyhUK9iRrfXEAmxT3+CCCJOdrW0Tr9P0w@mail.gmail.com>
Date: Sun, 31 Aug 2025 08:29:27 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: Kuniyuki Iwashima <kuniyu@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Neal Cardwell <ncardwell@...gle.com>, Simon Horman <horms@...nel.org>,
Ayush Sawal <ayush.sawal@...lsio.com>, Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next] tcp: Remove sk->sk_prot->orphan_count.
On Sat, Aug 30, 2025 at 5:56 AM Kuniyuki Iwashima <kuniyu@...gle.com> wrote:
>
> TCP tracks the number of orphaned (SOCK_DEAD but not yet destructed)
> sockets in tcp_orphan_count.
>
> In some code that was shared with DCCP, tcp_orphan_count is referenced
> via sk->sk_prot->orphan_count.
>
> Let's reference tcp_orphan_count directly.
>
> inet_csk_prepare_for_destroy_sock() is moved to inet_connection_sock.c
> due to header dependency.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Reviewed-by: Jason Xing <kerneljasonxing@...il.com>
Thanks,
Jason
Powered by blists - more mailing lists