aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_peeloff.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2015-03-10 19:49:25 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2015-03-10 19:49:25 +0000
commit59b6d5be4e01852f1022f46168767309b9588db6 (patch)
tree4141eaf0fa5f9da4dcaf9b3b44d94deda353ee3c /sys/netinet/sctp_peeloff.c
parent56c2c47b6476354e78ce7e72767378dca559522a (diff)
downloadsrc-59b6d5be4e01852f1022f46168767309b9588db6.tar.gz
src-59b6d5be4e01852f1022f46168767309b9588db6.zip
Add a SCTP socket option to limit the cwnd for each path.
MFC after: 1 month
Notes
Notes: svn path=/head/; revision=279859
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 cf41d29f71cd..b7024765a7c3 100644
--- a/sys/netinet/sctp_peeloff.c
+++ b/sys/netinet/sctp_peeloff.c
@@ -127,6 +127,7 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id)
n_inp->pktdrop_supported = inp->pktdrop_supported;
n_inp->partial_delivery_point = inp->partial_delivery_point;
n_inp->sctp_context = inp->sctp_context;
+ n_inp->max_cwnd = inp->max_cwnd;
n_inp->local_strreset_support = inp->local_strreset_support;
n_inp->inp_starting_point_for_iterator = NULL;
/* copy in the authentication parameters from the original endpoint */