[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110106.112234.115929607.davem@davemloft.net>
Date: Thu, 06 Jan 2011 11:22:34 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: xiaosuo@...il.com, kaber@...sh.net,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] netfilter: fix the race when initializing
nf_ct_expect_hash_rnd
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 05 Jan 2011 19:03:18 +0100
> Le mercredi 05 janvier 2011 à 22:23 +0800, Changli Gao a écrit :
>> Since nf_ct_expect_dst_hash() may be called without nf_conntrack_lock
>> locked, nf_ct_expect_hash_rnd should be initialized in the atomic way.
>>
>> In this patch, we use nf_conntrack_hash_rnd instead of
>> nf_ct_expect_hash_rnd.
>>
>> Signed-off-by: Changli Gao <xiaosuo@...il.com>
>> ---
>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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