diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-15 13:08:51 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-06-15 13:08:51 +0200 |
commit | d73f33b168831e53972fbf7c85db87950a41436c (patch) | |
tree | 5a3b5837b12728bc74fdf20505ffc1770b2a885e /drivers | |
parent | 0b041f8d1e6fb11a6134d37230da8c2182f99110 (diff) |
netfilter: CLUSTERIP: RCU conversion
- clusterip_lock becomes a spinlock
- lockless lookups
- kfree() deferred after RCU grace period
- rcu_barrier_bh() inserted in clusterip_tg_exit()
v2)
- As Patrick pointed out, we use atomic_inc_not_zero() in
clusterip_config_find_get().
- list_add_rcu() and list_del_rcu() variants are used.
- atomic_dec_and_lock() used in clusterip_config_entry_put()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions