aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-06-14 16:15:23 +0200
committerPatrick McHardy <kaber@trash.net>2010-06-14 16:15:23 +0200
commitf5c5440d40a24c5dc8030cde0a03debe87de4afb (patch)
tree2dacda8f2134860488dad9783dbcc7ef970f2985 /net/ipv4/netfilter.c
parentnetfilter: nfnetlink_log: RCU conversion (diff)
downloadlinux-dev-f5c5440d40a24c5dc8030cde0a03debe87de4afb.tar.xz
linux-dev-f5c5440d40a24c5dc8030cde0a03debe87de4afb.zip
netfilter: nfnetlink_log: RCU conversion, part 2
- must use atomic_inc_not_zero() in instance_lookup_get() - must use hlist_add_head_rcu() instead of hlist_add_head() - must use hlist_del_rcu() instead of hlist_del() - Introduce NFULNL_COPY_DISABLED to stop lockless reader from using an instance, before we do final instance_put() on it. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions