From: Julian Anastasov Date: Tue, 24 Apr 2012 20:46:38 +0000 (+0300) Subject: ipvs: always update some of the flags bits in backup X-Git-Tag: v3.5-rc1~109^2~140^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcc5e905d59026fbf2e7f74f9cc834203b6207b;p=pandora-kernel.git ipvs: always update some of the flags bits in backup As the goal is to mirror the inactconns/activeconns counters in the backup server, make sure the cp->flags are updated even if cp is still not bound to dest. If cp->flags are not updated ip_vs_bind_dest will rely only on the initial flags when updating the counters. To avoid mistakes and complicated checks for protocol state rely only on the IP_VS_CONN_F_INACTIVE bit when updating the counters. Signed-off-by: Julian Anastasov Tested-by: Aleksey Chudov Signed-off-by: Simon Horman --- Reading git-diff-tree failed