Commit 7e2bb410 authored by Marios Makassikis's avatar Marios Makassikis Committed by Greg Kroah-Hartman
Browse files

ksmbd: count all requests in req_running counter



[ Upstream commit 83c47d9e ]

This changes the semantics of req_running to count all in-flight
requests on a given connection, rather than the number of elements
in the conn->request list. The latter is used only in smb2_cancel,
and the counter is not used

Signed-off-by: default avatarMarios Makassikis <mmakassikis@freebox.fr>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Stable-dep-of: 43fb7bce ("ksmbd: fix broken transfers when exceeding max simultaneous operations")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 280d1b74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment