Commit de384ae3 authored by Hyunchul Lee's avatar Hyunchul Lee Committed by Zhong Jinghua
Browse files

ksmbd: smbd: fix connection dropped issue

mainline inclusion
from mainline-5.19-rc1
commit 5366afc4
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I60T7G
CVE: NA

Reference: https://git.kernel.org/torvalds/linux/c/5366afc40650



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

When there are bursty connection requests,
RDMA connection event handler is deferred and
Negotiation requests are received even if
connection status is NEW.

To handle it, set the status to CONNECTED
if Negotiation requests are received.

Reported-by: default avatarYufan Chen <wiz.chen@gmail.com>
Signed-off-by: default avatarHyunchul Lee <hyc.lee@gmail.com>
Tested-by: default avatarYufan Chen <wiz.chen@gmail.com>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarZhong Jinghua <zhongjinghua@huawei.com>
parent 5b37e2c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment