hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/rxrpc/insecure.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* Null security operations.
23 *
34 * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public Licence
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #include <net/af_rxrpc.h>
....@@ -35,6 +31,10 @@
3531 rxrpc_seq_t seq, u16 expected_cksum)
3632 {
3733 return 0;
34
+}
35
+
36
+static void none_free_call_crypto(struct rxrpc_call *call)
37
+{
3838 }
3939
4040 static void none_locate_data(struct rxrpc_call *call, struct sk_buff *skb,
....@@ -87,6 +87,7 @@
8787 .exit = none_exit,
8888 .init_connection_security = none_init_connection_security,
8989 .prime_packet_security = none_prime_packet_security,
90
+ .free_call_crypto = none_free_call_crypto,
9091 .secure_packet = none_secure_packet,
9192 .verify_packet = none_verify_packet,
9293 .locate_data = none_locate_data,