public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Lukasz Spaleniak <lspaleniak@wroc.zigzag.pl>
Cc: linux-kernel@vger.kernel.org, kadlec@netfilter.org,
	gandalf@netfilter.org
Subject: Re: Conntrack problem, machines freeze
Date: Fri, 26 Aug 2005 19:37:58 +0200	[thread overview]
Message-ID: <430F5376.7060709@trash.net> (raw)
In-Reply-To: <20050825222002.3538af7d.lspaleniak@wroc.zigzag.pl>

Lukasz Spaleniak wrote:
> Hello,
> 
> I have simple linux router with three fastethernet cards (intel , e100
> driver). About two months ago it started hanging. It's completly
> freezing machine (no ooops. First of all when it's booting few
> messages like this appears on screen:
> 
> NF_IP_ASSERT: ip_conntrack_core.c:1128(ip_conntrack_alter_reply)

This one can happen if the NAT module is loaded after ip_conntrack and
there are already existing conntrack entries, but it should be harmless.

> I suppose it's showing before firewall script load rules (simple nat).
> After that somtimes it's working very long, sometimes it's freezing
> after few seconds. One time I've logged this message before it freezes:
> 
> kernel: LIST_DELETE: ip_conntrack_core.c:302 `&ct->tuplehash
> [IP_CT_DIR_REPLY]'(decb6084) not in &ip_conntrack_hash[hr].

This one probably results from the above, when the conntrack is altered
it may end up in a different hash bucket, LIST_DELETE complains if it
doesn't find it on the list where it is to be removed from. Hmm .. so
the above is probably not harmless after all, when freeing the conntrack
we don't remove it from the list if netfilter debugging is enabled.

Does disabling CONFIG_NETFILTER_DEBUG make any difference?

      reply	other threads:[~2005-08-26 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-25 20:20 Conntrack problem, machines freeze Lukasz Spaleniak
2005-08-26 17:37 ` Patrick McHardy [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=430F5376.7060709@trash.net \
    --to=kaber@trash.net \
    --cc=gandalf@netfilter.org \
    --cc=kadlec@netfilter.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lspaleniak@wroc.zigzag.pl \
    /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