[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJZaTxf7yW8Ccxy+jaKQR0O_wM3RhqKTzNgVncP_Wzr3Q@mail.gmail.com>
Date: Mon, 1 Sep 2025 02:58:33 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>, 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 Fri, Aug 29, 2025 at 2:56 PM 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: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists