From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCH net 0/3] a couple of fixes for chunks abandoned in prsctp Date: Sat, 25 Nov 2017 21:18:33 +0800 Message-ID: Cc: davem@davemloft.net, Marcelo Ricardo Leitner , Neil Horman To: network dev , linux-sctp@vger.kernel.org Return-path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:41436 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbdKYNSp (ORCPT ); Sat, 25 Nov 2017 08:18:45 -0500 Sender: netdev-owner@vger.kernel.org List-ID: 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