]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfc7da655bcc639e550de8806ce97eee23257e08
tree6b41c22348ab58c270a3703605d98ba6c88327de
parentf4702d8e7f00d8735dbc156ba5dba189cb858ad1
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