From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file
---
kernel/net/rxrpc/insecure.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/kernel/net/rxrpc/insecure.c b/kernel/net/rxrpc/insecure.c
index af276f1..f6c59f5 100644
--- a/kernel/net/rxrpc/insecure.c
+++ b/kernel/net/rxrpc/insecure.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/* Null security operations.
*
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
*/
#include <net/af_rxrpc.h>
@@ -35,6 +31,10 @@
rxrpc_seq_t seq, u16 expected_cksum)
{
return 0;
+}
+
+static void none_free_call_crypto(struct rxrpc_call *call)
+{
}
static void none_locate_data(struct rxrpc_call *call, struct sk_buff *skb,
@@ -87,6 +87,7 @@
.exit = none_exit,
.init_connection_security = none_init_connection_security,
.prime_packet_security = none_prime_packet_security,
+ .free_call_crypto = none_free_call_crypto,
.secure_packet = none_secure_packet,
.verify_packet = none_verify_packet,
.locate_data = none_locate_data,
--
Gitblit v1.6.2