]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: convert lblcr scheduler to rcu
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Mar 2013 09:46:41 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:50 +0000 (00:23 +0200)
commit265fb5176593276dcd1dd6a21dcf1b5cf865654b
tree0a1f9f58407a6af69fe4061bc8d064d7909fecd2
parent734cc71a8f2f48d91090997bbd1fe7a18c9e9aaa
ipvs: convert lblcr scheduler to rcu

The schedule method now needs _rcu list-traversal
primitive for svc->destinations. The read_lock for sched_lock is
removed. The set.lock is removed because now it is used in
rare cases, mostly under sched_lock.

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