LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] Sloppy TCP, SH rebalancing, SHP scheduling

To: Alexander Frolkin <avf@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] Sloppy TCP, SH rebalancing, SHP scheduling
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Mon, 17 Jun 2013 12:00:00 +0300 (EEST)
        Hello,

On Mon, 17 Jun 2013, Alexander Frolkin wrote:

> >     Add 'break' for this case when dest is NULL (no
> > dests). Then we have to add {} for all branches as per
> > CodingStyle:
> > 
> >     if (!is_unavailable(dest))
> >             return dest;
> >     if (dest) {
> >             IP_VS_DBG_BUF
> >     } else {
> >             IP_VS_DBG
> >             break;
> >     }
> 
> So if dest is NULL, there is no point trying to choose a different
> server?

        Yes, you will find 256 NULLs there.

Regards

--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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