Commit 938bc100 authored by Zhang Xiaoxu's avatar Zhang Xiaoxu Committed by sanglipeng
Browse files

cifs: Move the in_send statistic to __smb_send_rqst()

stable inclusion
from stable-v5.10.176
commit ed9ed2f58cebfa4894efaee43986e1e96e8ca850
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I87BGI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ed9ed2f58cebfa4894efaee43986e1e96e8ca850



--------------------------------

[ Upstream commit d0dc4111 ]

When send SMB_COM_NT_CANCEL and RFC1002_SESSION_REQUEST, the
in_send statistic was lost.

Let's move the in_send statistic to the send function to avoid
this scenario.

Fixes: 7ee1af76 ("[CIFS]")
Signed-off-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent dede3f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment