Skip to content

Commit

Permalink
ksmbd: downgrade addition info error msg to debug in smb2_get_info_sec()
Browse files Browse the repository at this point in the history
While file transfer through windows client, This error flood message
happen. This flood message will cause performance degradation and
misunderstand server has problem.

Fixes: e294f78 ("ksmbd: allow PROTECTED_DACL_SECINFO and UNPROTECTED_DACL_SECINFO addition information in smb2 set info security")
Cc: [email protected] # v5.15
Acked-by: Hyunchul Lee <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
namjaejeon authored and Steve French committed Nov 25, 2021
1 parent 2d239f0 commit 8e537d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ksmbd/smb2pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5070,7 +5070,7 @@ static int smb2_get_info_sec(struct ksmbd_work *work,
if (addition_info & ~(OWNER_SECINFO | GROUP_SECINFO | DACL_SECINFO |
PROTECTED_DACL_SECINFO |
UNPROTECTED_DACL_SECINFO)) {
pr_err("Unsupported addition info: 0x%x)\n",
ksmbd_debug(SMB, "Unsupported addition info: 0x%x)\n",
addition_info);

pntsd->revision = cpu_to_le16(1);
Expand Down

0 comments on commit 8e537d1

Please sign in to comment.