summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2024-09-18 02:04:01 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:31:39 +0100
commitd7cb986425ce28ccd571216e8041774939337035 (patch)
treefdfd1deb96236c2de8f00c846e071c3488a04724 /fs
parent5f36890d650ca9fb02072ea42f7699b8ffdff75e (diff)
downloadlinux-d7cb986425ce28ccd571216e8041774939337035.tar.gz
linux-d7cb986425ce28ccd571216e8041774939337035.tar.bz2
linux-d7cb986425ce28ccd571216e8041774939337035.zip
smb: client: stop flooding dmesg in smb2_calc_signature()
[ Upstream commit a13ca780afab350f37f8be9eda2bf79d1aed9bdd ] When having several mounts that share same credential and the client couldn't re-establish an SMB session due to an expired kerberos ticket or rotated password, smb2_calc_signature() will end up flooding dmesg when not finding SMB sessions to calculate signatures. Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Stable-dep-of: 343d7fe6df9e ("smb: client: fix use-after-free of signing key") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/smb/client/smb2transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/smb2transport.c b/fs/smb/client/smb2transport.c
index 4ca04e62a993..73eae1b16034 100644
--- a/fs/smb/client/smb2transport.c
+++ b/fs/smb/client/smb2transport.c
@@ -242,7 +242,7 @@ smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server,
ses = smb2_find_smb_ses(server, le64_to_cpu(shdr->SessionId));
if (unlikely(!ses)) {
- cifs_server_dbg(VFS, "%s: Could not find session\n", __func__);
+ cifs_server_dbg(FYI, "%s: Could not find session\n", __func__);
return -ENOENT;
}