Skip to content

a couple of fixes for chunks abandoned in prsctp

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: only update outstanding_bytes for transmitted queue when doing prsctp_prunenet/sctp/outqueue.c+4 -21 reply
2/3sctp: abandon the whole msg if one part of a fragmented message is abandonedinclude/net/sctp/structs.h net/sctp/chunk.c net/sctp/outqueue.c+17 -51 reply
3/3sctp: do not abandon the other frags in unsent outq if one msg has outstanding fragsnet/sctp/chunk.c net/sctp/outqueue.c+6 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcelo Ricardo LeitnerNeil Horman
SeriesA-b
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] a couple of fixes for chunks abandoned in prsctp

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(-)
Signature · 1 line
2.1.0