diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:05:09 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:05:09 +0000 |
commit | 94e8309da0a98cd328fb5723308f6b1faaf4af51 (patch) | |
tree | 8285df9827fc48bc9dd0e3c536f58b9f2ede3e8c /sys/netinet/sctputil.c | |
parent | b33760ea4b44ba1f0bb5c5f8e190f82322d0f604 (diff) | |
download | FreeBSD-src-94e8309da0a98cd328fb5723308f6b1faaf4af51.zip FreeBSD-src-94e8309da0a98cd328fb5723308f6b1faaf4af51.tar.gz |
MFC r269475:
Add SCTP socket option SCTP_NRSACK_SUPPORTED to control the
NRSACK extension. The default will still be off, since it
it not an RFC (yet).
Changing the sysctl name will be in a separate commit.
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 eddb7fa..14cd62b 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -906,7 +906,7 @@ sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, asoc->sctp_cmt_on_off = inp->sctp_cmt_on_off; asoc->ecn_supported = inp->ecn_supported; asoc->prsctp_supported = inp->prsctp_supported; - asoc->sctp_nr_sack_on_off = (uint8_t) SCTP_BASE_SYSCTL(sctp_nr_sack_on_off); + asoc->nrsack_supported = inp->nrsack_supported; asoc->sctp_cmt_pf = (uint8_t) 0; asoc->sctp_frag_point = inp->sctp_frag_point; asoc->sctp_features = inp->sctp_features; |