[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C925B24.8020900@trash.net>
Date: Thu, 16 Sep 2010 20:00:04 +0200
From: Patrick McHardy <kaber@...sh.net>
To: paulmck@...ux.vnet.ibm.com
CC: Eric Dumazet <eric.dumazet@...il.com>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Netfilter Development Mailinglist
<netfilter-devel@...r.kernel.org>
Subject: Re: [PATCH] netfilter: fix a race in nf_ct_ext_create()
On 31.08.2010 17:51, Paul E. McKenney wrote:
> On Tue, Aug 31, 2010 at 05:48:02PM +0200, Eric Dumazet wrote:
>> > As soon as rcu_read_unlock() is called, there is no guarantee current
>> > thread can safely derefence t pointer, rcu protected.
>> >
>> > Fix is to copy t->alloc_size in a temporary variable.
> Yow!!! Good catch!!!
>
> Reviewed-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
>
>> > Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks.
--
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