summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-03-10 19:49:25 +0000
committertuexen <tuexen@FreeBSD.org>2015-03-10 19:49:25 +0000
commit484c3b2b6145fa469df480c58203daeb3c1aa206 (patch)
tree4141eaf0fa5f9da4dcaf9b3b44d94deda353ee3c /sys/netinet/sctputil.c
parent1d8f4435d6eb461b9c516e914a6264387e6e27a0 (diff)
downloadFreeBSD-src-484c3b2b6145fa469df480c58203daeb3c1aa206.zip
FreeBSD-src-484c3b2b6145fa469df480c58203daeb3c1aa206.tar.gz
Add a SCTP socket option to limit the cwnd for each path.
MFC after: 1 month
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