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>
Showing
- include/net/ip_vs.h 10 additions, 0 deletionsinclude/net/ip_vs.h
- net/netfilter/ipvs/ip_vs_conn.c 2 additions, 7 deletionsnet/netfilter/ipvs/ip_vs_conn.c
- net/netfilter/ipvs/ip_vs_ctl.c 2 additions, 2 deletionsnet/netfilter/ipvs/ip_vs_ctl.c
- net/netfilter/ipvs/ip_vs_sync.c 2 additions, 2 deletionsnet/netfilter/ipvs/ip_vs_sync.c
Loading
Please register or sign in to comment