]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3a8d2a0dd4ce0f5b03dd482510cff9582ad7a08
treeebefc1e883130f6470d9338d774ad5aebe6bf5fb
parent8511fe7f478b1c378faf5035587f7e7221eb2698
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