]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: set STATUS_INVALID_PARAMETER error status if credit charge is invalid
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 16 Jul 2021 05:52:46 +0000 (14:52 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 19 Jul 2021 07:20:02 +0000 (16:20 +0900)
commitde05f59a62861712afa1bc800cec22c3aa9c2da2
treefb0b12318a75701e4a167075920004bfa5496364
parentd04e5d95ddf0213781a20884cedc53dff8c56e8e
ksmbd: set STATUS_INVALID_PARAMETER error status if credit charge is invalid

MS-SMB2 specification describe :
 If the calculated credit number is greater than the CreditCharge,
 the server MUST fail the request with the error code
 STATUS_INVALID_PARAMETER.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/server.c
fs/ksmbd/smb2misc.c