From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Date: Mon, 10 Oct 2016 19:56:32 +0000 Subject: Re: [PATCH net-next] sctp: reuse sent_count to avoid retransmitted chunks for RTT measurements Message-Id: <20161010195632.GA23201@localhost.localdomain> List-Id: References: <20161010174825.GC2958@localhost.localdomain> In-Reply-To: <20161010174825.GC2958@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Xin Long Cc: network dev , linux-sctp@vger.kernel.org, Vlad Yasevich , daniel@iogearbox.net, davem@davemloft.net On Mon, Oct 10, 2016 at 02:48:25PM -0300, Marcelo Ricardo Leitner wrote: > On Sat, Oct 08, 2016 at 11:36:05AM +0800, Xin Long wrote: > > Now sctp uses chunk->resent to record if a chunk is retransmitted, for > > RTT measurements with retransmitted DATA chunks. chunk->sent_count was > > introduced to record how many times one chunk has been sent for prsctp > > RTX policy before. We actually can know if one chunk is retransmitted > > by checking chunk->sent_count is greater than 1. > > > > This patch is to remove resent from sctp_chunk and reuse sent_count > > to avoid retransmitted chunks for RTT measurements. > > > > Signed-off-by: Xin Long > > Acked-by: Marcelo Ricardo Leitner Though you may have to resend later, as we are still in merge window and we shouldn't be posting net-next patches during it.