summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-11-03 14:01:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-23 08:17:06 +0100
commitcc8d2e5309ecc32162e70a285748fca4c5bd052e (patch)
treef91ae0ae1e86706a25b9b23a94556880b4e78404 /include/uapi/linux
parentc87de86948832df11de0696e00ad2f668e933655 (diff)
downloadlinux-stable-cc8d2e5309ecc32162e70a285748fca4c5bd052e.tar.gz
linux-stable-cc8d2e5309ecc32162e70a285748fca4c5bd052e.tar.bz2
linux-stable-cc8d2e5309ecc32162e70a285748fca4c5bd052e.zip
sctp: define SCTP_SS_DEFAULT for Stream schedulers
[ Upstream commit 12480e3b16982c4026de10dd8155823219cd6391 ] According to rfc8260#section-4.3.2, SCTP_SS_DEFAULT is required to defined as SCTP_SS_FCFS or SCTP_SS_RR. SCTP_SS_FCFS is used for SCTP_SS_DEFAULT's value in this patch. Fixes: 5bbbbe32a431 ("sctp: introduce stream scheduler foundations") Reported-by: Jianwen Ji <jiji@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/sctp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
index 34dd3d497f2c..9c2780a65fb4 100644
--- a/include/uapi/linux/sctp.h
+++ b/include/uapi/linux/sctp.h
@@ -1151,6 +1151,7 @@ struct sctp_add_streams {
/* SCTP Stream schedulers */
enum sctp_sched_type {
SCTP_SS_FCFS,
+ SCTP_SS_DEFAULT = SCTP_SS_FCFS,
SCTP_SS_PRIO,
SCTP_SS_RR,
SCTP_SS_MAX = SCTP_SS_RR