sctp: define SCTP_SS_DEFAULT for Stream schedulers
authorXin Long <lucien.xin@gmail.com>
Sat, 3 Nov 2018 06:01:31 +0000 (14:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 07:17:06 +0000 (08:17 +0100)
commitcc8d2e5309ecc32162e70a285748fca4c5bd052e
treef91ae0ae1e86706a25b9b23a94556880b4e78404
parentc87de86948832df11de0696e00ad2f668e933655
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>
include/uapi/linux/sctp.h
net/sctp/outqueue.c