netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Ebbert <cebbert@redhat.com>
To: Netdev <netdev@vger.kernel.org>
Cc: Patrick McHardy <kaber@trash.net>
Subject: Oops in nf_nat_core.c:find_appropriate_src(), kernel 2.6.25.4
Date: Sat, 07 Jun 2008 10:43:01 -0400	[thread overview]
Message-ID: <484A9E75.8000601@redhat.com> (raw)

Reported at https://bugzilla.redhat.com/show_bug.cgi?id=449315

In find_appropriate_src():

        hlist_for_each_entry_rcu(nat, n, &bysource[h], bysource) {
                ct = nat->ct;
                if (same_src(ct, tuple)) {

Dereference of ct in same_src() causes the oops. This only seems to
happen on heavily loaded firewall machines. Kernel 2.6.24.7 works.

The reporter identifies commit 4d354c5782dc352cec187845d17eedc2c2bfcf67
("[NETFILTER]: nf_nat: use RCU for bysource hash") as a possible cause
of the problem.

             reply	other threads:[~2008-06-07 14:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 14:43 Chuck Ebbert [this message]
2008-06-07 15:00 ` Oops in nf_nat_core.c:find_appropriate_src(), kernel 2.6.25.4 Patrick McHardy
2008-06-07 15:14   ` Patrick McHardy
2008-06-07 15:45     ` Krzysztof Oledzki
2008-06-10  9:02       ` Patrick McHardy
2008-06-10 13:56         ` Krzysztof Oledzki
2008-06-10 14:00           ` Patrick McHardy
2008-06-10 17:07             ` Krzysztof Oledzki
2008-06-11 15:45         ` Paul E. McKenney
2008-06-12 10:41           ` Patrick McHardy
2008-06-17 13:44         ` Patrick McHardy

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=484A9E75.8000601@redhat.com \
    --to=cebbert@redhat.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    /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).