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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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




[Index of Archives]     [Linux Filesystem Devel]     [Linux NFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [X.Org]

  Powered by Linux