]> git.karo-electronics.de Git - linux-beck.git/commit
ipvs: convert lblc scheduler to rcu
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Mar 2013 09:46:40 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:49 +0000 (00:23 +0200)
commitc2a4ffb70eef396148234c1228824008501ab8d2
tree99e7c925a483355c594eb05caf5ca2e45e381870
parent8f3d0023b9bde2e9806455287ca2af3837e1836c
ipvs: convert lblc scheduler to rcu

The schedule method now needs _rcu list-traversal
primitive for svc->destinations. The read_lock for sched_lock is
removed. Use a dead flag to prevent new entries to be created
while scheduler is reclaimed. Use hlist for the hash table.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_lblc.c