kernel_samsung_a53x/fs/cifs
Ekaterina Esina 1ddfbddb2d 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>
2024-11-18 11:43:20 +01:00
..
asn1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_dfs_ref.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_fs_sb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_spnego.c cifs: spnego: add ';' in HOST_KEY_LEN 2024-11-18 11:43:20 +01:00
cifs_spnego.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_unicode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_unicode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifs_uniupr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsacl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsacl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsencrypt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsglob.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifspdu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsproto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifsroot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cifssmb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
connect.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dns_resolve.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dns_resolve.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs_context.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs_context.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fscache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fscache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ioctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
link.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netmisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nterr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nterr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ntlmssp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
readdir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rfc1002pdu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sess.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb1ops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2glob.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2maperror.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2ops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2pdu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2pdu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2proto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2status.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smb2transport.c cifs: fix check of rc in function generate_smb3signingkey 2024-11-18 11:43:20 +01:00
smbdirect.c smbdirect: missing rc checks while waiting for rdma events 2024-11-18 10:58:32 +01:00
smbdirect.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smbencrypt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smberr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smbfsctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
transport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
winucase.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xattr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00