ipvs: remove check for IP_VS_CONN_F_SYNC from ip_vs_bind_dest
authorJulian Anastasov <ja@ssi.bg>
Tue, 24 Apr 2012 20:46:36 +0000 (23:46 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2012 17:38:26 +0000 (19:38 +0200)
commit06611f82cc0d8b957d6399f11f2799683ad002c3
treeebefc1e883130f6470d9338d774ad5aebe6bf5fb
parent82cfc062781f29164b151de851f3076b84175fec
ipvs: remove check for IP_VS_CONN_F_SYNC from ip_vs_bind_dest

As the IP_VS_CONN_F_INACTIVE bit is properly set
in cp->flags for all kind of connections we do not need to
add special checks for synced connections when updating
the activeconns/inactconns counters for first time. Now
logic will look just like in ip_vs_unbind_dest.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c