commit | f5c5440d40a24c5dc8030cde0a03debe87de4afb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Jun 14 16:15:23 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Mon Jun 14 16:15:23 2010 +0200 |
tree | 2dacda8f2134860488dad9783dbcc7ef970f2985 | |
parent | bed1be20867d17a3eb2fb5e1613ebdc50c83b8aa [diff] |
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>