summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-05-29 12:54:30 +0000
committertuexen <tuexen@FreeBSD.org>2015-05-29 12:54:30 +0000
commit10635a0e4cb8ce4b5611cc5aa2c8cca38f668097 (patch)
tree417515c982b92af65826e1073a2342f0d392cb91 /sys/netinet/sctputil.c
parent44f9f670c91c5a354e5d9a0fa7487f1f1166b90f (diff)
downloadFreeBSD-src-10635a0e4cb8ce4b5611cc5aa2c8cca38f668097.zip
FreeBSD-src-10635a0e4cb8ce4b5611cc5aa2c8cca38f668097.tar.gz
MFC r279859:
Add a SCTP socket option to limit the cwnd for each path.
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r--sys/netinet/sctputil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 57c2032..801f03b 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -936,6 +936,7 @@ sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
asoc->sctp_frag_point = inp->sctp_frag_point;
asoc->sctp_features = inp->sctp_features;
asoc->default_dscp = inp->sctp_ep.default_dscp;
+ asoc->max_cwnd = inp->max_cwnd;
#ifdef INET6
if (inp->sctp_ep.default_flowlabel) {
asoc->default_flowlabel = inp->sctp_ep.default_flowlabel;
OpenPOWER on IntegriCloud