From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [PATCH net 0/3] a couple of fixes for chunks abandoned in prsctp Date: Mon, 27 Nov 2017 08:58:42 -0500 Message-ID: <20171127135842.GC8850@hmswarspite.think-freely.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: network dev , linux-sctp@vger.kernel.org, davem@davemloft.net, Marcelo Ricardo Leitner To: Xin Long Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:57503 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752215AbdK0N6w (ORCPT ); Mon, 27 Nov 2017 08:58:52 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Nov 25, 2017 at 09:18:33PM +0800, Xin Long wrote: > Now when abandoning chunks in prsctp, it doesn't consider for frags in > one msg, which would cause peer can never receive the whole frags for > one msg to get them reassembled, these pieces of this msg will stay in > the reasm queue forever and block the following chunks' receiving. > > This patchset is to fix them in patch 2 and 3, and also fix another > issue for prsctp in patch 1. > > Xin Long (3): > sctp: only update outstanding_bytes for transmitted queue when doing > prsctp_prune > sctp: abandon the whole msg if one part of a fragmented message is > abandoned > sctp: do not abandon the other frags in unsent outq if one msg has > outstanding frags > > include/net/sctp/structs.h | 3 ++- > net/sctp/chunk.c | 11 +++++++++++ > net/sctp/outqueue.c | 19 +++++++++++++------ > 3 files changed, 26 insertions(+), 7 deletions(-) > > -- > 2.1.0 > > Series Acked-by: Neil Horman