netfilter: fix nf_conntrack_l4proto_register()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 29 Oct 2010 17:59:40 +0000 (19:59 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 29 Oct 2010 17:59:40 +0000 (19:59 +0200)
While doing __rcu annotations work on net/netfilter I found following
bug. On some arches, it is possible we publish a table while its content
is not yet committed to memory, and lockless reader can dereference wild
pointer.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found