• Julian Anastasov's avatar
    ipvs: reorganize dest trash · 578bc3ef
    Julian Anastasov authored
    All dests will go to trash, no exceptions.
    But we have to use new list node t_list for this, due
    to RCU changes in following patches. Dests will wait there
    initial grace period and later all conns and schedulers to
    put their reference. The dests don't get reference for
    staying in dest trash as before.
    
    	As result, we do not load ip_vs_dest_put with
    extra checks for last refcnt and the schedulers do not
    need to play games with atomic_inc_not_zero while
    selecting best destination.
    Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
    Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
    578bc3ef
ip_vs_ctl.c 95.7 KB