[PATCH net v11 02/17] rxrpc: Fix rxperf test rxgk key kvno to be 0
David Howells
dhowells at redhat.com
Wed Sep 23 06:36:49 PDT 2026
Fix the test rxgk keys in the rxperf test server to have kvno 0 to match
other implementations.
Fixes: aa2199088a39 ("rxrpc: rxperf: Add test RxGK server keys")
Signed-off-by: David Howells <dhowells at redhat.com>
cc: Marc Dionne <marc.dionne at auristor.com>
cc: Jeffrey Altman <jaltman at auristor.com>
cc: Eric Dumazet <edumazet at google.com>
cc: "David S. Miller" <davem at davemloft.net>
cc: Jakub Kicinski <kuba at kernel.org>
cc: Paolo Abeni <pabeni at redhat.com>
cc: Simon Horman <horms at kernel.org>
cc: linux-afs at lists.infradead.org
---
net/rxrpc/rxperf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/rxrpc/rxperf.c b/net/rxrpc/rxperf.c
index f1f41151589c..26f97e1dd388 100644
--- a/net/rxrpc/rxperf.c
+++ b/net/rxrpc/rxperf.c
@@ -586,7 +586,7 @@ static int rxperf_add_yfs_rxgk_key(struct key *keyring, u32 enctype)
for (int i = 0; i < krb5->key_len; i++)
key[i] = i;
- sprintf(name, "%u:6:1:%u", RX_PERF_SERVICE, enctype);
+ sprintf(name, "%u:6:0:%u", RX_PERF_SERVICE, enctype);
kref = key_create_or_update(make_key_ref(keyring, true),
"rxrpc_s", name,
More information about the linux-afs
mailing list