summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2011-01-05 05:23:23 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-06 20:22:20 +0100
commitf682cefa5ad204d3bfaa54a58046c66d2d035ac1 (patch)
tree8c55a0b722df666bb0a75f5749c7457cd5d44f3b /net/ipv4
parentipv4: IP defragmentation must be ECN aware (diff)
downloadlinux-f682cefa5ad204d3bfaa54a58046c66d2d035ac1.tar.xz
linux-f682cefa5ad204d3bfaa54a58046c66d2d035ac1.zip
netfilter: fix the race when initializing nf_ct_expect_hash_rnd
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@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions