hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/sctp/stream_sched_rr.c
....@@ -1,25 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* SCTP kernel implementation
23 * (C) Copyright Red Hat Inc. 2017
34 *
45 * This file is part of the SCTP kernel implementation
56 *
67 * These functions manipulate sctp stream queue/scheduling.
7
- *
8
- * This SCTP implementation is free software;
9
- * you can redistribute it and/or modify it under the terms of
10
- * the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2, or (at your option)
12
- * any later version.
13
- *
14
- * This SCTP implementation is distributed in the hope that it
15
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
16
- * ************************
17
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
- * See the GNU General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU General Public License
21
- * along with GNU CC; see the file COPYING. If not, see
22
- * <http://www.gnu.org/licenses/>.
238 *
249 * Please send any bug reports or fixes you make to the
2510 * email addresched(es):
....@@ -103,6 +88,10 @@
10388 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list);
10489
10590 return 0;
91
+}
92
+
93
+static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid)
94
+{
10695 }
10796
10897 static void sctp_sched_rr_free(struct sctp_stream *stream)
....@@ -192,6 +181,7 @@
192181 .get = sctp_sched_rr_get,
193182 .init = sctp_sched_rr_init,
194183 .init_sid = sctp_sched_rr_init_sid,
184
+ .free_sid = sctp_sched_rr_free_sid,
195185 .free = sctp_sched_rr_free,
196186 .enqueue = sctp_sched_rr_enqueue,
197187 .dequeue = sctp_sched_rr_dequeue,