ksmbd: limits exceeding the maximum allowable outstanding requests
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 31 Dec 2021 00:26:25 +0000 (09:26 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 10 Jan 2022 18:44:19 +0000 (12:44 -0600)
commitb589f5db6d4af8f14d70e31e1276b4c017668a26
treed5d2850a5a54c553245e40435576b89da8d19008
parent914d7e5709ac59ded70bea7956d408fe2acd7c3c
ksmbd: limits exceeding the maximum allowable outstanding requests

If the client ignores the CreditResponse received from the server and
continues to send the request, ksmbd limits the requests if it exceeds
smb2 max credits.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/connection.c
fs/ksmbd/connection.h
fs/ksmbd/smb2misc.c
fs/ksmbd/smb2pdu.c