Skip to content

Commit 9692ea9

Browse files
committed
smb3: remove overly noisy debug line in signing errors
A dump_stack call for signature related errors can be too noisy and not of much value in debugging such problems. Signed-off-by: Steve French <[email protected]> Reviewed-by: Shyam Prasad N <[email protected]>
1 parent 1f641d9 commit 9692ea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/cifs/smb2transport.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,8 +660,8 @@ smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
660660
return rc;
661661

662662
if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) {
663-
dump_stack();
664-
cifs_dbg(VFS, "sign fail cmd 0x%x message id 0x%llx\n", shdr->Command, shdr->MessageId);
663+
cifs_dbg(VFS, "sign fail cmd 0x%x message id 0x%llx\n",
664+
shdr->Command, shdr->MessageId);
665665
return -EACCES;
666666
} else
667667
return 0;

0 commit comments

Comments
 (0)