diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-14 16:15:23 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-06-14 16:15:23 +0200 |
commit | f5c5440d40a24c5dc8030cde0a03debe87de4afb (patch) | |
tree | 2dacda8f2134860488dad9783dbcc7ef970f2985 /net/ipv4 | |
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions