ipvs: add ip_vs_dest_hold and ip_vs_dest_put
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Mar 2013 09:46:38 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:48 +0000 (00:23 +0200)
commitfca9c20ae1e510525f8a2aaa25861789fd721193
tree810ace8990d277c3dbad6632919b605c85ad316e
parent6b6df46663e7aa6f7b1d82435a3488f9b81316b3
ipvs: add ip_vs_dest_hold and ip_vs_dest_put

ip_vs_dest_hold will be used under RCU lock
while ip_vs_dest_put can be called even after dest
is removed from service, as it happens for conns and
some schedulers.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_sync.c