ksmbd: smbd: fix kernel oops during server shutdown
authorHyunchul Lee <hyc.lee@gmail.com>
Thu, 12 Aug 2021 01:23:08 +0000 (10:23 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Thu, 12 Aug 2021 23:18:13 +0000 (08:18 +0900)
commit323b1ea10263e5f11c9fb12e25f6d8beb327228c
tree4ed839c183251aedc19c67ce844257957655258d
parent777cad1604d68ed4379ec899d1f7d2f6a29f01f0
ksmbd: smbd: fix kernel oops during server shutdown

if server shutdown happens in the situation that
there are connections, workqueue could be destroyed
before queueing disconnect work.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/transport_rdma.c