[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D6E2BEB.50805@trash.net>
Date: Wed, 02 Mar 2011 12:37:15 +0100
From: Patrick McHardy <kaber@...sh.net>
To: "Oleg A. Arkhangelsky" <sysoleg@...dex.ru>
CC: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: Kernel panic nf_nat_setup_info+0x5b3/0x6e0
Am 23.02.2011 18:07, schrieb "Oleg A. Arkhangelsky":
> Hello,
>
> Got this panic yesterday:
> http://www.progtech.ru/~oleg/crash.txt
>
> The offending instruction is:
> cmpb 54(%edx), %cl # <variable>.tuple.dst.protonum,
>
> and here is the assembler code of net/ipv4/netfilter/nf_nat_core.c:
> http://www.progtech.ru/~oleg/nf_nat_core.s
>
> Quick investigation lead me to conclusion that the problem is in
> return of same_src function:
>
> return (t->dst.protonum == tuple->dst.protonum &&
> t->src.u3.ip == tuple->src.u3.ip &&
> t->src.u.all == tuple->src.u.all);
>
> So either t or tuple pointer is bad, but I don't understand how
> this can be.
I'm not sure myself, I'm guessing it has something to do with
reallocation of the NAT extension area. Please post your full
ruleset and any helpers in use.
> [2971152.752502] Pid: 0, comm: swapper Not tainted (2.6.32.25-pt #1)
Also please try whether the problem still happens with the current
kernel version.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists