diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-11-03 14:01:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-03 19:40:29 -0700 |
commit | 12480e3b16982c4026de10dd8155823219cd6391 (patch) | |
tree | 363a1c986216fdc4b29442ff0468a75765477410 /include | |
parent | fd82d61ba142f0b83463e47064bf5460aac57b6e (diff) | |
download | linux-12480e3b16982c4026de10dd8155823219cd6391.tar.bz2 |
sctp: define SCTP_SS_DEFAULT for Stream schedulers
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/sctp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index 680ecc3bf2a9..c81feb373d3e 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -1153,6 +1153,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 |