All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@oss.sgi.com
Subject: Re: [TCP] Show all SYN_RECV sockets in /proc/net/tcp
Date: Tue, 05 Oct 2004 23:17:33 -0300	[thread overview]
Message-ID: <416355BD.50402@conectiva.com.br> (raw)
In-Reply-To: <20041006020650.GA14583@gondor.apana.org.au>



Herbert Xu wrote:
> Hi Dave:
> 
> I was fixing the tcp_diag so that it shows SYN_RECV sockets properly.
> I found that /proc/net/tcp didn't do it correctly either.  So here is
> a small patch to fix /proc/net/tcp.
> 
> The logic in there stinks though so I'd love to see a rewrite.

Go ahead and do it with the current seq_file infrastructure 8) Standard
answer for these cases is remove /proc/net/tcp altogether and convert
the userland tools to use netlink instead.

- Arnaldo

  reply	other threads:[~2004-10-06  2:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06  2:06 [TCP] Show all SYN_RECV sockets in /proc/net/tcp Herbert Xu
2004-10-06  2:17 ` Arnaldo Carvalho de Melo [this message]
2004-10-06  2:35   ` Herbert Xu
2004-10-06  2:43     ` Arnaldo Carvalho de Melo
2004-10-06  3:58     ` Randy.Dunlap
2004-10-06  2:55   ` YOSHIFUJI Hideaki / 吉藤英明
2004-10-06  5:18 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416355BD.50402@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.