ipvs: convert locks used in persistence engines
authorJulian Anastasov <ja@ssi.bg>
Thu, 21 Mar 2013 09:58:09 +0000 (11:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:44 +0000 (00:23 +0200)
commit60b6aa3b319d902db49dbaee7433fe2ac7d0cdb5
tree6b41c22348ab58c270a3703605d98ba6c88327de
parent276472eae063d717b775fdfc87529937402d0e08
ipvs: convert locks used in persistence engines

Allow the readers to use RCU lock and for
PE module registrations use global mutex instead of
spinlock. All PE modules need to use synchronize_rcu
in their module exit handler.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_pe.c
net/netfilter/ipvs/ip_vs_pe_sip.c