]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0c62a556a90e6e459aceed4242082a02eea4e5e
tree810ace8990d277c3dbad6632919b605c85ad316e
parente9574f1cde375b832a666895244c75ff2b0d4df5
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