Oops in nf_nat_core.c:find_appropriate_src(), kernel 2.6.25.4

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chuck Ebbert
Date: Saturday, June 7, 2008 - 7:43 am

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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Oops in nf_nat_core.c:find_appropriate_src(), kernel 2.6.25.4, Chuck Ebbert, (Sat Jun 7, 7:43 am)
Re: Oops in nf_nat_core.c:find_appropriate_src(), kernel 2 ..., Krzysztof Oledzki, (Tue Jun 10, 6:56 am)
Re: Oops in nf_nat_core.c:find_appropriate_src(), kernel 2 ..., Krzysztof Oledzki, (Tue Jun 10, 10:07 am)