linux_dsm_epyc7002/fs/cifs
Steve French acf96fef46 smb3.1.1: do not fail if no encryption required but server doesn't support it
There are cases where the server can return a cipher type of 0 and
it not be an error. For example server supported no encryption types
(e.g. server completely disabled encryption), or the server and
client didn't support any encryption types in common (e.g. if a
server only supported AES256_CCM). In those cases encryption would
not be supported, but that can be ok if the client did not require
encryption on mount and it should not return an error.

In the case in which mount requested encryption ("seal" on mount)
then checks later on during tree connection will return the proper
rc, but if seal was not requested by client, since server is allowed
to return 0 to indicate no supported cipher, we should not fail mount.

Reported-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2020-10-20 02:15:56 -05:00
..
asn1.c
cache.c
cifs_debug.c cifs: Display local UID details for SMB sessions in DebugData 2020-07-01 19:38:19 -05:00
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h smb3: add mount option to allow RW caching of share accessed by only 1 client 2019-09-16 11:43:38 -05:00
cifs_ioctl.h cifs: add SMB3 change notification support 2020-02-06 09:14:28 -06:00
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c smb3.1.1: add new module load parm enable_gcm_256 2020-10-15 23:58:15 -05:00
cifsfs.h cifs: update internal module version number 2020-07-09 10:07:09 -05:00
cifsglob.h smb3.1.1: add new module load parm enable_gcm_256 2020-10-15 23:58:15 -05:00
cifspdu.h
cifsproto.h
cifsroot.c
cifssmb.c
connect.c Handle STATUS_IO_TIMEOUT gracefully 2020-10-15 23:58:04 -05:00
dfs_cache.c
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c
fscache.c
fscache.h
inode.c cifs: handle -EINTR in cifs_setattr 2020-10-15 23:58:14 -05:00
ioctl.c
Kconfig
link.c smb311: add support for using info level for posix extensions query 2020-06-12 08:54:12 -05:00
Makefile
misc.c
netmisc.c
nterr.c
nterr.h
ntlmssp.h cifs: dynamic allocation of ntlmssp blob 2016-06-23 23:45:07 -05:00
readdir.c cifs: compute full_path already in cifs_readdir() 2020-10-11 23:57:19 -05:00
rfc1002pdu.h
sess.c
smb1ops.c
smb2file.c
smb2glob.h smb3.1.1: set gcm256 when requested 2020-10-19 15:11:11 -05:00
smb2inode.c cifs: return cached_fid from open_shroot 2020-10-11 23:57:19 -05:00
smb2maperror.c cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES 2020-10-15 23:58:14 -05:00
smb2misc.c
smb2ops.c cifs: Return the error from crypt_message when enc/dec key not found. 2020-10-19 15:11:39 -05:00
smb2pdu.c smb3.1.1: do not fail if no encryption required but server doesn't support it 2020-10-20 02:15:56 -05:00
smb2pdu.h smb3.1.1: set gcm256 when requested 2020-10-19 15:11:11 -05:00
smb2proto.h cifs: return cached_fid from open_shroot 2020-10-11 23:57:19 -05:00
smb2status.h
smb2transport.c smb3.1.1: set gcm256 when requested 2020-10-19 15:11:11 -05:00
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c
winucase.c Replace HTTP links with HTTPS ones: CIFS 2020-07-05 14:23:38 -06:00
xattr.c