From 2c6cbc4da65c800358c5bb87718cafdaca0f23a8 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Tue, 2 Sep 2008 15:55:50 +0200 Subject: [PATCH] --- yaml --- r: 111575 b: refs/heads/master c: c6883f587341a3ed113856de8769d0992b4bbd85 h: refs/heads/master i: 111573: 8ee46cd6853ad72ecbe24074f1bed6e83c519232 111571: 5c60e3cd612d1c1191a29ff52a6f7bf5f9edf9c3 111567: 0da46467343f52f10c28f32119a12e7e5c7135a6 v: v3 --- [refs] | 2 +- trunk/net/ipv4/ipvs/ip_vs_core.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6a844f03fcce..794f096ee424 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 667a5f18162e803e30722af46ade1737e3b93198 +refs/heads/master: c6883f587341a3ed113856de8769d0992b4bbd85 diff --git a/trunk/net/ipv4/ipvs/ip_vs_core.c b/trunk/net/ipv4/ipvs/ip_vs_core.c index 27bef1d67aa7..5a7a81778b0b 100644 --- a/trunk/net/ipv4/ipvs/ip_vs_core.c +++ b/trunk/net/ipv4/ipvs/ip_vs_core.c @@ -1321,7 +1321,8 @@ ip_vs_in(unsigned int hooknum, struct sk_buff *skb, * encorage the standby servers to update the connections timeout */ atomic_inc(&cp->in_pkts); - if ((ip_vs_sync_state & IP_VS_STATE_MASTER) && + if (af == AF_INET && + (ip_vs_sync_state & IP_VS_STATE_MASTER) && (((cp->protocol != IPPROTO_TCP || cp->state == IP_VS_TCP_S_ESTABLISHED) && (atomic_read(&cp->in_pkts) % sysctl_ip_vs_sync_threshold[1]