| To: | "Daniel 'NebuchadnezzaR' Dehennin" <nebuchadnezzar@xxxxxxxxx>, 243084@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: Bug#243084: net-tools: netstat do not display some ipv6 listening sockets |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 1 May 2004 16:50:11 +1000 |
| Cc: | Bernd Eckenfels <be-mail2004@xxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <87fzb9z8zp.fsf@thorr.asgardr.info> |
| 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> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.5.1+cvs20040105i |
tags 243084 pending quit On Mon, Apr 12, 2004 at 02:16:58PM +0200, Daniel 'NebuchadnezzaR' Dehennin wrote: > > I made a little piece of code inspired by my patch to mailutils, it's > dirty code I prefere prevent you ;-) Thanks for the test case. Hi Dave: 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. Cheers, -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch 0/7] 2.6.6-rc3-mm1 - description of the r8169 queue, Andy Lutomirski |
|---|---|
| Previous by Thread: | RE: [PATCH 2.6.5] Re: Fw: Stack sends SYN/ACKs even though accept queue is full, Jan Olderdissen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |