diff options
author | Ekaterina Esina | 2023-11-13 19:42:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-28 17:07:07 +0000 |
commit | d1a04a5219e86dc1e70fa8d13b971fcdba322328 (patch) | |
tree | 111249bf778145822395e5610f9870f418dca4cc /drivers/media | |
parent | 17cfba4aeb2d37c052398e64250d601235c1c723 (diff) |
cifs: fix check of rc in function generate_smb3signingkey
[ Upstream commit 181724fc72486dec2bec8803459be05b5162aaa8 ]
Remove extra check after condition, add check after generating key
for encryption. The check is needed to return non zero rc before
rewriting it with generating key for decryption.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Fixes: d70e9fa55884 ("cifs: try opening channels after mounting")
Signed-off-by: Ekaterina Esina <eesina@astralinux.ru>
Co-developed-by: Anastasia Belova <abelova@astralinux.ru>
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions