hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/net/sctp/stream_sched.h
....@@ -1,24 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* SCTP kernel implementation
23 * (C) Copyright Red Hat Inc. 2017
34 *
45 * These are definitions used by the stream schedulers, defined in RFC
56 * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
6
- *
7
- * This SCTP implementation is free software;
8
- * you can redistribute it and/or modify it under the terms of
9
- * the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2, or (at your option)
11
- * any later version.
12
- *
13
- * This SCTP implementation is distributed in the hope that it
14
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
15
- * ************************
16
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
- * See the GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with GNU CC; see the file COPYING. If not, see
21
- * <http://www.gnu.org/licenses/>.
227 *
238 * Please send any bug reports or fixes you make to the
249 * email addresses:
....@@ -41,6 +26,8 @@
4126 int (*init)(struct sctp_stream *stream);
4227 /* Init a stream */
4328 int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
29
+ /* free a stream */
30
+ void (*free_sid)(struct sctp_stream *stream, __u16 sid);
4431 /* Frees the entire thing */
4532 void (*free)(struct sctp_stream *stream);
4633