From: Julian Anastasov Date: Fri, 22 Mar 2013 09:46:37 +0000 (+0200) Subject: ipvs: preparations for using rcu in schedulers X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~235^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6df46663e7aa6f7b1d82435a3488f9b81316b3;p=pandora-kernel.git ipvs: preparations for using rcu in schedulers Allow schedulers to use rcu_dereference when returning destination on lookup. The RCU read-side critical section will allow ip_vs_bind_dest to get dest refcnt as preparation for the step where destinations will be deleted without an IP_VS_WAIT_WHILE guard that holds the packet processing during update. Add new optional scheduler methods add_dest, del_dest and upd_dest. For now the methods are called together with update_service but update_service will be removed in a following change. Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed