]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc448bef4943256defbdad56b8a97ebd60827371d
treec6c208c4ea554307b35f26d6ec9eb63a0a28c626
parent9aa7477923608b8d092832aee8e61de46c995130
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