Re: [PATCH v2] netfilter: fix the race when initializing nf_ct_expect_hash_rnd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
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@xxxxxxxxx>
>> ---
> 
> Acked-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> 
> Problem is Patrick seems not responsive these days ;)

As a result, I'll integrate this fix later today.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux