netfilter: use rcu_dereference_protected()
authorPatrick McHardy <kaber@trash.net>
Mon, 10 May 2010 16:47:57 +0000 (18:47 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 10 May 2010 16:47:57 +0000 (18:47 +0200)
commitb56f2d55c6c22b0c5774b3b22e336fb6cc5f4094
treec6c208c4ea554307b35f26d6ec9eb63a0a28c626
parent1e4b1057121bc756b91758a434b504d2010f6088
netfilter: use rcu_dereference_protected()

Restore the rcu_dereference() calls in conntrack/expectation notifier
and logger registration/unregistration, but use the _protected variant,
which will be required by the upcoming __rcu annotations.

Based on patch by Eric Dumazet <eric.dumazet@gmail.com>

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_ecache.c
net/netfilter/nf_log.c