LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[lvs-devel] [patch 2/2] ipvs: Syncrhonise Closing of Connections

Subject: [lvs-devel] [patch 2/2] ipvs: Syncrhonise Closing of Connections
From: ja at ssi.bg (Julian Anastasov)
Date: Fri, 2 Nov 2007 01:36:07 +0200 (EET)
        Hello,

On Thu, 1 Nov 2007, Simon Horman wrote:

> --- net-2.6.orig/net/ipv4/ipvs/ip_vs_sync.c   2007-11-01 18:17:55.000000000 
> +0900
> +++ net-2.6/net/ipv4/ipvs/ip_vs_sync.c        2007-11-01 18:20:30.000000000 
> +0900
> @@ -332,7 +332,7 @@ static void ip_vs_process_message(const 
>                                           s->daddr, s->dport,
>                                           flags, dest);
>                       if (dest)

        Is that correct? Sorry, I was flooded with different versions
of this patch and I'm not sure if it is the final one.

> -                             atomic_dec(&dest->refcnt);
> +                             ip_vs_dest_get(dest);
>                       if (!cp) {
>                               IP_VS_ERR("ip_vs_conn_new failed\n");
>                               return;

Regards

--
Julian Anastasov <ja at ssi.bg>


<Prev in Thread] Current Thread [Next in Thread>