From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] sctp: Error in calculation of RTTvar Date: Wed, 28 Nov 2012 11:13:54 -0500 (EST) Message-ID: <20121128.111354.177489902452717372.davem@davemloft.net> References: <1354115909-24172-1-git-send-email-vyasevich@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: vyasevich@gmail.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:49972 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553Ab2K1QN5 (ORCPT ); Wed, 28 Nov 2012 11:13:57 -0500 In-Reply-To: <1354115909-24172-1-git-send-email-vyasevich@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: vyasevich@gmail.com Date: Wed, 28 Nov 2012 10:18:29 -0500 > From: Schoch Christian > > The calculation of RTTVAR involves the subtraction of two unsigned > numbers which > may causes rollover and results in very high values of RTTVAR when RTT > SRTT. > With this patch it is possible to set RTOmin = 1 to get the minimum of RTO at > 4 times the clock granularity. > > Change Notes: > > v2) > *Replaced abs() by abs64() and long by __s64, changed patch > description. > > Signed-off-by: Christian Schoch > CC: Vlad Yasevich > CC: Sridhar Samudrala > CC: Neil Horman > CC: linux-sctp@vger.kernel.org > Acked-by: Vlad Yasevich > Acked-by: Neil Horman Applied, thanks.