netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Nivedita Singhvi <niv@us.ibm.com>
Cc: netdev@oss.sgi.com, bkon@us.ibm.com, jgrimm@us.ibm.com,
	jgarvey@us.ibm.com
Subject: Re: TCP hang in timewait processing
Date: Sun, 28 Mar 2004 01:35:49 -0800	[thread overview]
Message-ID: <20040328013549.58c32b63.davem@redhat.com> (raw)
In-Reply-To: <40660DF7.9090806@us.ibm.com>

On Sat, 27 Mar 2004 15:27:51 -0800
Nivedita Singhvi <niv@us.ibm.com> wrote:

> Any ideas, pointers would be very much appreciated!

One thing that makes timewait bucket garbage collection interesting
is that the node can be reached from two spots, the death row list
and the TCP hash chains via packet input processing.

So you have to see if scenerios like the following are possible:

1) TW death worker thread choose tw X to be killed, drops tw_death_lock
2) packet input hits tw X, packet is reset which kills the tw
3) packet input thus tries to remove tw X from the death row list
   too and put it

You get the idea.

We had a similar bug recently in the 2.6.x tree but that was due to
a bug in the tw-kill-via-worker-thread code which is not in 2.4.x unless
someone patched it into the 2.4.x tree you are using :-)

      reply	other threads:[~2004-03-28  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27 23:27 TCP hang in timewait processing Nivedita Singhvi
2004-03-28  9:35 ` David S. Miller [this message]

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=20040328013549.58c32b63.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=bkon@us.ibm.com \
    --cc=jgarvey@us.ibm.com \
    --cc=jgrimm@us.ibm.com \
    --cc=netdev@oss.sgi.com \
    --cc=niv@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).