public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shane Wegner <shane-keyword-kernel.a35a91@cm.nu>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.23 crash on Intel SDS2
Date: Sun, 16 Nov 2003 14:02:00 -0800	[thread overview]
Message-ID: <20031116220200.GA1446@cm.nu> (raw)
In-Reply-To: <Pine.LNX.4.44.0311151029310.10014-100000@logos.cnet>

> > It's a database machine running MySQL and Postgres.  The
> > MySQL server runs about 4 queries/sec and PostGres only as
> > needed.  It also does some minor mail service, say 2
> > messages per minute and runs apache at about 10 requests
> > per minute.
> > 
> > > > There are no significant driver changes in -pre4 that could affect you.
> > > > 
> > > > Can you please try with mem=900M? I suspect something in the VM changes
> > > > might be causing this.
> > 
> > Just tried with mem=900m and subsequently mem=850m so as no
> > himem pages were available with no effect.  Machine still
> > crashed.

Hi,

Well, I tried backing out the vm changes from pre4, no
luck so started disabling things.  So far, it seems my
firewall script is at fault.  I looked through the
pre3-pre4 diff and the only change to the nat code is a
one-liner.

# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/04	laforge@netfilter.org	1.1063.41.4
# [NETFILTER]: NAT range calculation fix.
# 
# This patch fixes a logic bug in NAT range calculations, which also
# causes a large slowdown when ICMP floods go through NAT.
# 
# Author: Karlis Piesenieks
# --------------------------------------------
diff -Nru a/net/ipv4/netfilter/ip_nat_core.c b/net/ipv4/netfilter/ip_nat_core.c
--- a/net/ipv4/netfilter/ip_nat_core.c	Sun Nov 16 13:41:25 2003
+++ b/net/ipv4/netfilter/ip_nat_core.c	Sun Nov 16 13:41:25 2003
@@ -157,8 +157,8 @@
 				continue;
 		}
 
-		if ((mr->range[i].flags & IP_NAT_RANGE_PROTO_SPECIFIED)
-		    && proto->in_range(&newtuple, IP_NAT_MANIP_SRC,
+		if (!(mr->range[i].flags & IP_NAT_RANGE_PROTO_SPECIFIED)
+		    || proto->in_range(&newtuple, IP_NAT_MANIP_SRC,
 				       &mr->range[i].min, &mr->range[i].max))
 			return 1;
 	}

Reversing that change has thus far fixed things over here
but time will tell.  Is there any possible way that that
particular change is somehow not smp safe?

Shane

  parent reply	other threads:[~2003-11-16 22:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-09 21:05 2.4.23 crash on Intel SDS2 Shane Wegner
2003-11-10 10:46 ` Marcelo Tosatti
2003-11-12  7:07   ` Shane Wegner
2003-11-11 10:46 ` Marcelo Tosatti
2003-11-12 11:02 ` Marcelo Tosatti
2003-11-12 11:21   ` Marcelo Tosatti
2003-11-12 18:22     ` Shane Wegner
2003-11-15 12:31       ` Marcelo Tosatti
2003-11-15 20:58         ` Shane Wegner
2003-11-15 21:12           ` Willy Tarreau
2003-11-16  0:13             ` Keith Owens
2003-11-16 22:02         ` Shane Wegner [this message]
2003-11-17 11:29           ` Marcelo Tosatti
2003-11-17 17:29             ` Shane Wegner
  -- strict thread matches above, loose matches on Subject: below --
2003-11-10 11:20 Mikael Pettersson

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=20031116220200.GA1446@cm.nu \
    --to=shane-keyword-kernel.a35a91@cm.nu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.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