/* This function should be called when we hit a congestion event since only at that point do we really have a real sense of maxRTT (the queues en route were getting just too full now).  */
static void htcp_param_update(struct sock *sk)
/* This function should be called when we hit a congestion event since only at that point do we really have a real sense of maxRTT (the queues en route were getting just too full now).  */
static void htcp_param_update(struct sock *sk)
{
	struct htcp *ca = inet_csk_ca(sk);
	u32 minRTT = ca->minRTT;
	u32 maxRTT = ca->maxRTT;
	htcp_beta_update(ca, minRTT, maxRTT);
	htcp_alpha_update(ca);
	if (minRTT > 0 && maxRTT > minRTT)
		ca->maxRTT = minRTT + ((maxRTT - minRTT) * 95) / 100;
}