Skip to content

sctp: implement rfc7496 in sctp

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sctp: add SCTP_PR_SUPPORTED on sctp sockoptinclude/net/sctp/structs.h include/uapi/linux/sctp.h net/sctp/associola.c +3 more+93 -80 replies
2/6sctp: add SCTP_DEFAULT_PRINFO into sctp sockoptinclude/uapi/linux/sctp.h net/sctp/socket.c+120 -00 replies
3/6sctp: add SCTP_PR_ASSOC_STATUS on sctp sockoptinclude/net/sctp/structs.h include/uapi/linux/sctp.h net/sctp/socket.c+77 -00 replies
4/6sctp: implement prsctp TTL policyinclude/net/sctp/structs.h net/sctp/chunk.c net/sctp/output.c +2 more+43 -50 replies
5/6sctp: implement prsctp RTX policynet/sctp/chunk.c net/sctp/sm_make_chunk.c+6 -00 replies
6/6sctp: implement prsctp PRIO policyinclude/net/sctp/structs.h net/sctp/chunk.c net/sctp/outqueue.c +2 more+109 -10 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcelo Ricardo Leitner
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

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-next 0/6] sctp: implement rfc7496 in sctp

This patchset implements "Additional Policies for the Partially Reliable Stream Control Transmission Protocol Extension" described on RFC7496.

The Partially Reliable SCTP (PR-SCTP) extension defined in [RFC3758] provides a generic method for senders to abandon user messages. The decision to abandon a user message is sender side only, and the exact condition is called a "PR-SCTP policy". This patchset implements 3 policies:

1. Timed Reliability: This allows the sender to specify a timeout for a user message after which the SCTP stack abandons the user message.

2. Limited Retransmission Policy: Allows limitation of the number of retransmissions.

3. Priority Policy: Allows removal of lower-priority messages if space for higher-priority messages is needed in the send buffer.

Patch 1-3 add some sockopts in sctp to set/get pr_sctp policy status. Patch 4-6 implement these 3 policies one by one.

Xin Long (6):
sctp: add SCTP_PR_SUPPORTED on sctp sockopt
sctp: add SCTP_DEFAULT_PRINFO into sctp sockopt
sctp: add SCTP_PR_ASSOC_STATUS on sctp sockopt
sctp: implement prsctp TTL policy
sctp: implement prsctp RTX policy
sctp: implement prsctp PRIO policy

 include/net/sctp/structs.h |  23 ++++-
 include/uapi/linux/sctp.h  |  42 ++++++++
 net/sctp/associola.c       |   1 +
 net/sctp/chunk.c           |  25 ++++-
 net/sctp/endpointola.c     |   1 +
 net/sctp/output.c          |   2 +
 net/sctp/outqueue.c        |  99 +++++++++++++++++++
 net/sctp/sm_make_chunk.c   |  27 +++--
 net/sctp/socket.c          | 240 ++++++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 447 insertions(+), 13 deletions(-)
Signature · 1 line
2.1.0