]> git.itanic.dy.fi Git - linux-stable/commit
ksmbd: add channel rwlock
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 22 Jul 2022 01:15:57 +0000 (10:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:50:28 +0000 (11:50 +0200)
commit876a7e3b58e34e3c7afe28b67ecf13833fe10544
tree47e7cf3797c3aadf73883050b1d6971a372de57d
parent05cbc9806ae8a4cf53e454e5cb2e5292726a5620
ksmbd: add channel rwlock

[ Upstream commit 8e06b31e348107c5d78e2c90bb7e69388cb97fb6 ]

Add missing rwlock for channel list in session.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Stable-dep-of: 7b4323373d84 ("ksmbd: fix deadlock in ksmbd_find_crypto_ctx()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ksmbd/mgmt/user_session.c
fs/ksmbd/mgmt/user_session.h
fs/ksmbd/smb2pdu.c