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:Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment