summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_peeloff.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-22 20:01:35 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-22 20:01:35 +0000
commitb33760ea4b44ba1f0bb5c5f8e190f82322d0f604 (patch)
treece6e07d19750b7f6ccc2250bd0227b7c8fa7309e /sys/netinet/sctp_peeloff.c
parenta4786844b5aed176a639f1a041df00e694738983 (diff)
downloadFreeBSD-src-b33760ea4b44ba1f0bb5c5f8e190f82322d0f604.zip
FreeBSD-src-b33760ea4b44ba1f0bb5c5f8e190f82322d0f604.tar.gz
MFC r269448:
Add support for the SCTP_PR_SUPPORTED socket option as specified in http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies Add also a sysctl controlling the default of the end-points.
Diffstat (limited to 'sys/netinet/sctp_peeloff.c')
-rw-r--r--sys/netinet/sctp_peeloff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_peeloff.c b/sys/netinet/sctp_peeloff.c
index 2373445..34fb2b5 100644
--- a/sys/netinet/sctp_peeloff.c
+++ b/sys/netinet/sctp_peeloff.c
@@ -119,6 +119,7 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id)
n_inp->sctp_frag_point = inp->sctp_frag_point;
n_inp->sctp_cmt_on_off = inp->sctp_cmt_on_off;
n_inp->ecn_supported = inp->ecn_supported;
+ n_inp->prsctp_supported = inp->prsctp_supported;
n_inp->partial_delivery_point = inp->partial_delivery_point;
n_inp->sctp_context = inp->sctp_context;
n_inp->local_strreset_support = inp->local_strreset_support;
OpenPOWER on IntegriCloud