Re: [BUG] net: tcp: SO_LINGER with l_linger=0 leaks memory when closing sockets with pending send data

Jiayuan Chen <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.stable
Message-ID <[email protected]>
On 8/8/26 11:42 AM, Ahmed, Aaron wrote:
> Hi,
>
> Following up since it's been a while. I've tested on 6.18.39 (latest
> 6.18.y LTS) and the issue is still present.
>
> Baseline (55,542 connections, one client SIGSTOP'd):
>    TCP: inuse 55542 orphan 0 tw 1 alloc 55543 mem 8236

You may be misreading "inuse", it counts sockets in the TCP hash tables, 
not all sockets on the host

Sockets can still exist in host even inuse is zero.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.