[NETFILTER]: nf_log: use rcu_assign_pointer for RCU protected pointer
authorPatrick McHardy <kaber@trash.net>
Mon, 12 Feb 2007 19:11:06 +0000 (11:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2007 19:11:06 +0000 (11:11 -0800)
commita5ea6169f294bc33a762f7c1c240e3ac0f045f9e
tree1ab3c32c6eb2a54c8a2887b18193301e31d24177
parentfd706d6957b3c66ae70b4bbdb9e13993213697f7
[NETFILTER]: nf_log: use rcu_assign_pointer for RCU protected pointer

Also replace synchronize_net() calls by synchronize_rcu() since the
RCU protected data is also used for sysfs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_log.c