hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/net/sctp/primitive.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* SCTP kernel implementation
23 * Copyright (c) 1999-2000 Cisco, Inc.
34 * Copyright (c) 1999-2001 Motorola, Inc.
....@@ -9,22 +10,6 @@
910 * Note that the descriptions from the specification are USER level
1011 * functions--this file is the functions which populate the struct proto
1112 * for SCTP which is the BOTTOM of the sockets interface.
12
- *
13
- * This SCTP implementation is free software;
14
- * you can redistribute it and/or modify it under the terms of
15
- * the GNU General Public License as published by
16
- * the Free Software Foundation; either version 2, or (at your option)
17
- * any later version.
18
- *
19
- * This SCTP implementation is distributed in the hope that it
20
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
21
- * ************************
22
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
- * See the GNU General Public License for more details.
24
- *
25
- * You should have received a copy of the GNU General Public License
26
- * along with GNU CC; see the file COPYING. If not, see
27
- * <http://www.gnu.org/licenses/>.
2813 *
2914 * Please send any bug reports or fixes you make to the
3015 * email address(es):
....@@ -53,7 +38,7 @@
5338 int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
5439 void *arg) { \
5540 int error = 0; \
56
- enum sctp_event event_type; union sctp_subtype subtype; \
41
+ enum sctp_event_type event_type; union sctp_subtype subtype; \
5742 enum sctp_state state; \
5843 struct sctp_endpoint *ep; \
5944 \