 if (in_flight < tp->snd_cwnd) return; 
static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 rtt,			    u32 in_flight, int flag){	struct tcp_sock *tp = tcp_sk(sk);	struct hybla *ca = inet_csk_ca(sk);	u32 increment, odd, rho_fractions;	int is_slowstart = 0;	/*  Recalculate rho only if this srtt is the lowest */	if (tp->srtt < ca->minrtt){		hybla_recalc_param(sk);		ca->minrtt = tp->srtt;	}	if (!ca->hybla_en)		return tcp_reno_cong_avoid(sk, ack, rtt, in_flight, flag);	if (in_flight < tp->snd_cwnd)		return;	if (ca->rho == 0)		hybla_recalc_param(sk);	rho_fractions = ca->rho_3ls - (ca->rho << 3);	if (tp->snd_cwnd < tp->snd_ssthresh) {		/*		 * slow start		 *      INC = 2^RHO - 1		 * This is done by splitting the rho parameter		 * into 2 parts: an integer part and a fraction part.		 * Inrement<<7 is estimated by doing:		 *	       [2^(int+fract)]<<7		 * that is equal to:		 *	       (2^int)	*  [(2^fract) <<7]		 * 2^int is straightly computed as 1<<int,		 * while we will use hybla_slowstart_fraction_increment() to		 * calculate 2^fract in a <<7 value.		 */		is_slowstart = 1;		increment = ((1 << ca->rho) * hybla_fraction(rho_fractions))			- 128;	} else {		/*		 * congestion avoidance		 * INC = RHO^2 / W		 * as long as increment is estimated as (rho<<7)/window		 * it already is <<7 and we can easily count its fractions.		 */		increment = ca->rho2_7ls / tp->snd_cwnd;		if (increment < 128)			tp->snd_cwnd_cnt++;	}	odd = increment % 128;	tp->snd_cwnd += increment >> 7;	ca->snd_cwnd_cents += odd;	/* check when fractions goes >=128 and increase cwnd by 1. */	while(ca->snd_cwnd_cents >= 128) {		tp->snd_cwnd++;		ca->snd_cwnd_cents -= 128;		tp->snd_cwnd_cnt = 0;	}	/* clamp down slowstart cwnd to ssthresh value. */	if (is_slowstart)		tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh);	tp->snd_cwnd = min_t(u32, tp->snd_cwnd, tp->snd_cwnd_clamp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f4805eded7d38c4e42bf473dc5eb2f34853beb06/tcp_hybla.c/buggy/net/ipv4/tcp_hybla.c