LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs-0.2.10 available

To: Wensong Zhang <wensong@xxxxxxxxxxxx>
Subject: Re: ipvs-0.2.10 available
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 19 Apr 2001 17:15:39 +0300 (EEST)
        Hello Wensong,

On Thu, 19 Apr 2001, Wensong Zhang wrote:

>       * Fixed the missing __ip_vs_dst_reset bug in the
>       ip_vs_unbind_dest.  Before the destination server is released in
>       the ip_vs_unbind_dest, the __refcnt of dst_cache need to be
>       decreased.

        The above mentioned code has race with __ip_vs_del_dest.

        I vote this code to be replaced with atomic_dec(&dest->refcnt).
The destinations must be released only from user space. This is an
old(2.2?)/unused/buggy stuff.


Regards

--
Julian Anastasov <ja@xxxxxx>



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