From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] sctp: fix identification of new acks for SFR-CACC Date: Wed, 25 Apr 2018 13:22:39 -0400 (EDT) Message-ID: <20180425.132239.1603132652115291264.davem@davemloft.net> References: <4e837f7eaf67a1a964d1b3418aa3cf759f512535.1524603870.git.marcelo.leitner@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, lucien.xin@gmail.com, vyasevich@gmail.com, nhorman@tuxdriver.com To: marcelo.leitner@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52536 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755413AbeDYRWl (ORCPT ); Wed, 25 Apr 2018 13:22:41 -0400 In-Reply-To: <4e837f7eaf67a1a964d1b3418aa3cf759f512535.1524603870.git.marcelo.leitner@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Marcelo Ricardo Leitner Date: Tue, 24 Apr 2018 18:17:35 -0300 > It's currently written as: > > if (!tchunk->tsn_gap_acked) { [1] > tchunk->tsn_gap_acked = 1; > ... > } > > if (TSN_lte(tsn, sack_ctsn)) { > if (!tchunk->tsn_gap_acked) { > /* SFR-CACC processing */ > ... > } > } > > Which causes the SFR-CACC processing on ack reception to never process, > as tchunk->tsn_gap_acked is always true by then. Block [1] was > moved to that position by the commit marked below. > > This patch fixes it by doing SFR-CACC processing earlier, before > tsn_gap_acked is set to true. > > Fixes: 31b02e154940 ("sctp: Failover transmitted list on transport delete") > Signed-off-by: Marcelo Ricardo Leitner > --- > > Even though this is a -stable candidate, please apply it to net-next > to avoid conflicts with subsequent patches in my queue. Thanks. Applied. However, if you do want this to make it's way to -stable you'll have to get it integrated into 'net' first.