]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ipvs: convert rr scheduler to rcu
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Mar 2013 09:46:44 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:52 +0000 (00:23 +0200)
commitc0d0c0a1c0d35b76f3859b69110f614056d845fe
tree77fb85b4cbed8efe0e323e7401db81b66761bc32
parentf92ea8f09605c26e35789a6865e87d5e3d8aaddd
ipvs: convert rr scheduler to rcu

The schedule method now needs _rcu list-traversal
primitive for svc->destinations. As the previous entry
could be unlinked, limit the list traversals to 2 when
lookup started from previous entry.

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