netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rumen Bogdanovski <rumen@voicecho.com>
To: Simon Horman <horms@verge.net.au>
Cc: LVS Devel <lvs-devel@vger.kernel.org>,
	Linux Netdev List <netdev@vger.kernel.org>,
	David Miller <davem@davemloft.net>,
	Joseph Mack NA3T <jmack@wm7d.net>
Subject: Re: [PATCH] IPVS: More reliable subchronization on connection close.
Date: Wed, 16 Jul 2008 22:49:38 +0300	[thread overview]
Message-ID: <1216237778.6260.1.camel@lappy> (raw)
In-Reply-To: <20080716063519.GA5144@verge.net.au>

Would you please change the Subject to (a typo fix):
[PATCH] IPVS: More reliable synchronization on connection close.


On Wed, 2008-07-16 at 16:35 +1000, Simon Horman wrote:
> From: Rumen Bogdanovski <rumen@voicecho.com>
> 
> This patch enhances the synchronization of the closing connections
> between the master and the backup director. It prevents the closed
> connections to expire with the 15 min timeout of the ESTABLISHED
> state on the backup and makes them expire as they would do on the
> master with much shorter timeouts.
> 
> Cc: Joseph Mack NA3T <jmack@wm7d.net>
> Signed-off-by: Rumen G. Bogdanovski <rumen@voicecho.com>
> Acked-by: Simon Horman <horms@verge.net.au>
> 
> --- 
> 
> Hi Dave,
> 
> please consider applying this.
> 
> diff -Naur net-2.6_orig/net/ipv4/ipvs/ip_vs_core.c net-2.6/net/ipv4/ipvs/ip_vs_core.c
> --- net-2.6_orig/net/ipv4/ipvs/ip_vs_core.c	2008-07-15 11:23:44.000000000 +0300
> +++ net-2.6/net/ipv4/ipvs/ip_vs_core.c	2008-07-15 11:27:31.000000000 +0300
> @@ -993,7 +993,8 @@
>  	       == sysctl_ip_vs_sync_threshold[0])) ||
>  	     ((cp->protocol == IPPROTO_TCP) && (cp->old_state != cp->state) &&
>  	      ((cp->state == IP_VS_TCP_S_FIN_WAIT) ||
> -	       (cp->state == IP_VS_TCP_S_CLOSE)))))
> +	       (cp->state == IP_VS_TCP_S_CLOSE_WAIT) ||
> +	       (cp->state == IP_VS_TCP_S_TIME_WAIT)))))
>  		ip_vs_sync_conn(cp);
>  	cp->old_state = cp->state;
>  


  reply	other threads:[~2008-07-16 19:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16  6:35 [PATCH] IPVS: More reliable subchronization on connection close Simon Horman
2008-07-16 19:49 ` Rumen Bogdanovski [this message]
2008-07-17  2:47 ` [PATCH] IPVS: More reliable synchronization " Simon Horman
2008-07-17  3:04   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1216237778.6260.1.camel@lappy \
    --to=rumen@voicecho.com \
    --cc=davem@davemloft.net \
    --cc=horms@verge.net.au \
    --cc=jmack@wm7d.net \
    --cc=lvs-devel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).