summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-12-22 17:59:38 +0000
committertuexen <tuexen@FreeBSD.org>2010-12-22 17:59:38 +0000
commitc17bd2abe06cae94dd7c76d82b5484b79b746af2 (patch)
tree80303e0e707760d51274d8c8dfdfdf5f3083faab /sys/netinet/sctp_sysctl.h
parentaa42d9f67fb8820598ba9b01c9f9de9a6525eba1 (diff)
downloadFreeBSD-src-c17bd2abe06cae94dd7c76d82b5484b79b746af2.zip
FreeBSD-src-c17bd2abe06cae94dd7c76d82b5484b79b746af2.tar.gz
Improve plausibility check in sctp_handle_sack().
Allow cmt_on_off to support values 0 (no CMT), 1 (CMT), and 2 (CMT/RP). MFC after: 3 months.
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r--sys/netinet/sctp_sysctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h
index 9dbc9ed..3362f27 100644
--- a/sys/netinet/sctp_sysctl.h
+++ b/sys/netinet/sctp_sysctl.h
@@ -325,9 +325,9 @@ struct sctp_sysctl {
#define SCTPCTL_OUTGOING_STREAMS_DEFAULT SCTP_OSTREAM_INITIAL
/* cmt_on_off: CMT on/off flag */
-#define SCTPCTL_CMT_ON_OFF_DESC "CMT on/off flag"
+#define SCTPCTL_CMT_ON_OFF_DESC "CMT settings"
#define SCTPCTL_CMT_ON_OFF_MIN 0
-#define SCTPCTL_CMT_ON_OFF_MAX 1
+#define SCTPCTL_CMT_ON_OFF_MAX 2
#define SCTPCTL_CMT_ON_OFF_DEFAULT 0
/* EY - nr_sack_on_off: NR_SACK on/off flag */
OpenPOWER on IntegriCloud