linux-stable/fs/ksmbd
Hyunchul Lee 0945b0d34a ksmbd: smbd: fix connection dropped issue
[ Upstream commit 5366afc406 ]

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: Yufan Chen <wiz.chen@gmail.com>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Tested-by: Yufan Chen <wiz.chen@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:41:36 +02:00
..
mgmt
Kconfig
Makefile
asn1.c
asn1.h
auth.c
auth.h
connection.c ksmbd: fix outstanding credits related bugs 2022-06-09 10:26:27 +02:00
connection.h
crypto_ctx.c
crypto_ctx.h
glob.h
ksmbd_netlink.h
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c
ksmbd_work.h
misc.c
misc.h
ndr.c
ndr.h
nterr.h
ntlmssp.h
oplock.c
oplock.h
server.c
server.h
smb2misc.c ksmbd: fix outstanding credits related bugs 2022-06-09 10:26:27 +02:00
smb2ops.c
smb2pdu.c
smb2pdu.h
smb_common.c ksmbd: fix outstanding credits related bugs 2022-06-09 10:26:27 +02:00
smb_common.h
smbacl.c ksmbd: fix reference count leak in smb_check_perm_dacl() 2022-06-14 18:41:17 +02:00
smbacl.h
smbfsctl.h
smbstatus.h
transport_ipc.c
transport_ipc.h
transport_rdma.c ksmbd: smbd: fix connection dropped issue 2022-06-14 18:41:36 +02:00
transport_rdma.h
transport_tcp.c
transport_tcp.h
unicode.c
unicode.h
uniupr.h
vfs.c
vfs.h
vfs_cache.c
vfs_cache.h
xattr.h