diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:08:50 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:08:50 +0000 |
commit | 5a4252e3c473170a493004da8e482390b54ddedd (patch) | |
tree | 300a64dfd6390b1eb5172ba04ae10a5d561e40cf /sys/netinet/sctputil.c | |
parent | 94e8309da0a98cd328fb5723308f6b1faaf4af51 (diff) | |
download | FreeBSD-src-5a4252e3c473170a493004da8e482390b54ddedd.zip FreeBSD-src-5a4252e3c473170a493004da8e482390b54ddedd.tar.gz |
MFC r269481:
Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable.
The default is off, since the specification is not an RFC yet.
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r-- | sys/netinet/sctputil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index 14cd62b..1c83177 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -907,6 +907,7 @@ sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, asoc->ecn_supported = inp->ecn_supported; asoc->prsctp_supported = inp->prsctp_supported; asoc->nrsack_supported = inp->nrsack_supported; + asoc->pktdrop_supported = inp->pktdrop_supported; asoc->sctp_cmt_pf = (uint8_t) 0; asoc->sctp_frag_point = inp->sctp_frag_point; asoc->sctp_features = inp->sctp_features; @@ -952,7 +953,6 @@ sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_select_initial_TSN(&inp->sctp_ep); asoc->asconf_seq_out_acked = asoc->asconf_seq_out - 1; /* we are optimisitic here */ - asoc->peer_supports_pktdrop = 1; asoc->peer_supports_nat = 0; asoc->sent_queue_retran_cnt = 0; |