SCTP-PF was implemented based on a Internet-Draft in 2012:
https://tools.ietf.org/html/draft-nishida-tsvwg-sctp-failover-05
It's been updated quite a few by rfc7829 in 2016.
This patchset adds the following features:
1. add SCTP_ADDR_POTENTIALLY_FAILED notification
2. add pf_expose per netns/sock/asoc
3. add SCTP_EXPOSE_POTENTIALLY_FAILED_STATE sockopt
4. add ps_retrans per netns/sock/asoc/transport
(Primary Path Switchover)
5. add spt_pathcpthld for SCTP_PEER_ADDR_THLDS sockopt
v1->v2:
- See Patch 2/5 and Patch 5/5.
Xin Long (5):
sctp: add SCTP_ADDR_POTENTIALLY_FAILED notification
sctp: add pf_expose per netns and sock and asoc
sctp: add SCTP_EXPOSE_POTENTIALLY_FAILED_STATE sockopt
sctp: add support for Primary Path Switchover
sctp: add SCTP_PEER_ADDR_THLDS_V2 sockopt
include/net/netns/sctp.h | 13 +++++
include/net/sctp/structs.h | 13 ++++-
include/uapi/linux/sctp.h | 13 +++++
net/sctp/associola.c | 26 ++++-----
net/sctp/protocol.c | 6 ++
net/sctp/sm_sideeffect.c | 5 ++
net/sctp/socket.c | 143 ++++++++++++++++++++++++++++++++++++++++-----
net/sctp/sysctl.c | 16 +++++
8 files changed, 203 insertions(+), 32 deletions(-)
--
2.1.0