LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

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

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: [PATCH] Sloppy TCP, SH rebalancing, SHP scheduling
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Alexander Frolkin <avf@xxxxxxxxxxxxxx>
Date: Mon, 17 Jun 2013 09:32:04 +0100
Hi,

>       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?


Alex

--
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>