diff options
author | 2012-04-24 23:46:38 +0300 | |
---|---|---|
committer | 2012-05-08 19:38:31 +0200 | |
commit | cdcc5e905d59026fbf2e7f74f9cc834203b6207b (patch) | |
tree | 3f8c6440384a2d0e753d35f51e344269953a986a /net/dsa/slave.c | |
parent | ipvs: fix ip_vs_try_bind_dest to rebind app and transmitter (diff) | |
download | wireguard-linux-cdcc5e905d59026fbf2e7f74f9cc834203b6207b.tar.xz wireguard-linux-cdcc5e905d59026fbf2e7f74f9cc834203b6207b.zip |
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 <ja@ssi.bg>
Tested-by: Aleksey Chudov <aleksey.chudov@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions