Skip to content
Commit bb3b772f authored by Namjae Jeon's avatar Namjae Jeon Committed by Greg Kroah-Hartman
Browse files

ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO

[ Upstream commit a58b45a4

 ]

Set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO if netdev has
multi tx queues. And add ksmbd_compare_user() to avoid racy condition
issue in ksmbd_free_user(). because windows client is simultaneously used
to send session setup requests for multichannel connection.

Tested-by: default avatarZiwei Xie <zw.xie@high-flyer.cn>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Stable-dep-of: 7b432337

 ("ksmbd: fix deadlock in ksmbd_find_crypto_ctx()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2456e288
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment