[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTikrCBcCm4qksA-8u0n+vTwiuc=WuA@mail.gmail.com>
Date: Sat, 21 May 2011 23:42:49 +0800
From: Changli Gao <xiaosuo@...il.com>
To: Patrick McHardy <kaber@...sh.net>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
"Oleg A. Arkhangelsky" <sysoleg@...dex.ru>,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org,
Paul E McKenney <paulmck@...ux.vnet.ibm.com>
Subject: Re: Kernel panic nf_nat_setup_info+0x5b3/0x6e0
On Tue, Apr 5, 2011 at 7:49 PM, Patrick McHardy <kaber@...sh.net> wrote:
>
> I think what's happening is that the conntrack entry is destroyed
> and the NAT ct_extend destructor invoked, which removes the nat
> extension from the RCU protected bysource hash, after which the
> entire extension area is freed. Another CPU might still find the
> old NAT entry with undefined contents in the hash though, so I
> think using RCU to free the extension area is correct.
>
What is the conclusion? Is my patch acceptable? Thanks.
--
Regards,
Changli Gao(xiaosuo@...il.com)
--
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