]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sctp-rfc7496-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 11 Jul 2016 20:25:39 +0000 (13:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jul 2016 20:25:39 +0000 (13:25 -0700)
commit6792be1765460e0483aba900d01d643fd4f7602e
treecb51b8283e24aa2ed014dbbc621a2dc86f9c91de
parent50404fc45925d1db6efeae730fb6511c4ca15d2d
parent484b785209371af9dab7422885a0fee0c8d08e97
Merge branch 'sctp-rfc7496-support'

Xin Long says:

====================
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.
====================

Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>