| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* SCTP kernel implementation |
|---|
| 2 | 3 | * (C) Copyright Red Hat Inc. 2017 |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * This file is part of the SCTP kernel implementation |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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/>. |
|---|
| 23 | 8 | * |
|---|
| 24 | 9 | * Please send any bug reports or fixes you make to the |
|---|
| 25 | 10 | * email addresched(es): |
|---|
| .. | .. |
|---|
| 103 | 88 | INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list); |
|---|
| 104 | 89 | |
|---|
| 105 | 90 | return 0; |
|---|
| 91 | +} |
|---|
| 92 | + |
|---|
| 93 | +static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) |
|---|
| 94 | +{ |
|---|
| 106 | 95 | } |
|---|
| 107 | 96 | |
|---|
| 108 | 97 | static void sctp_sched_rr_free(struct sctp_stream *stream) |
|---|
| .. | .. |
|---|
| 192 | 181 | .get = sctp_sched_rr_get, |
|---|
| 193 | 182 | .init = sctp_sched_rr_init, |
|---|
| 194 | 183 | .init_sid = sctp_sched_rr_init_sid, |
|---|
| 184 | + .free_sid = sctp_sched_rr_free_sid, |
|---|
| 195 | 185 | .free = sctp_sched_rr_free, |
|---|
| 196 | 186 | .enqueue = sctp_sched_rr_enqueue, |
|---|
| 197 | 187 | .dequeue = sctp_sched_rr_dequeue, |
|---|