netdev
[Top] [All Lists]

Re: Bug#243084: net-tools: netstat do not display some ipv6 listening so

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Bug#243084: net-tools: netstat do not display some ipv6 listening sockets
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sat, 1 May 2004 17:39:25 -0700
Cc: nebuchadnezzar@xxxxxxxxx, 243084@xxxxxxxxxxxxxxx, be-mail2004@xxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040501065011.GA25540@gondor.apana.org.au>
References: <E1BCQ8h-0005bb-8s@thorr.asgardr.info> <20040411211116.GA32025@lina.inka.de> <87smfagpxf.fsf@thorr.asgardr.info> <20040412001011.GB3310@lina.inka.de> <20040412080013.GA24732@gondor.apana.org.au> <87fzb9z8zp.fsf@thorr.asgardr.info> <20040501065011.GA25540@gondor.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 1 May 2004 16:50:11 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> There is a bug in listening_get_first() which used by /proc/net/tcp*
> where it wasn't looping through all the sockets in each hash chain.
> This problem doesn't show up unless the first socket in a chain doesn't
> match the family that is being looked up.
> 
> The following patch fixes this by getting rid of listening_get_first()
> altogether.

Looks good, applied.

Thanks Herbert.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Bug#243084: net-tools: netstat do not display some ipv6 listening sockets, David S. Miller <=