diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-07-16 14:52:09 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-07-19 16:20:01 +0900 |
commit | 58090b175271870842d823622013d4499f462a10 (patch) | |
tree | 7cf54414473c187ee4ba32ce11236924a7e17272 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | e4b60e92d4f878b774eca22fa4c00fa04f6354b4 (diff) |
ksmbd: fix wrong error status return on session setup
When user insert wrong password, ksmbd return STATUS_INVALID_PARAMETER
error status to client. It will make user confusing whether it is not
password problem. This patch change error status to
STATUS_LOGON_FAILURE. and return STATUS_INSUFFICIENT_RESOURCES if memory
allocation failed on session setup.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions