1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 16:53:58 -05:00
linux/fs/cifs
Steve French 32f319183c smb3: workaround negprot bug in some Samba servers
Mount can now fail to older Samba servers due to a server
bug handling padding at the end of the last negotiate
context (negotiate contexts typically are rounded up to 8
bytes by adding padding if needed). This server bug can
be avoided by switching the order of negotiate contexts,
placing a negotiate context at the end that does not
require padding (prior to the recent netname context fix
this was the case on the client).

Fixes: 73130a7b1a ("smb3: fix empty netname context on secondary channels")
Reported-by: Julian Sikorski <belegdol@gmail.com>
Tested-by: Julian Sikorski <belegdol+github@gmail.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-07-13 19:59:47 -05:00
..
asn1.c
cifs_debug.c cifs: change iface_list from array to sorted linked list 2022-06-22 19:51:43 -05:00
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_spnego_negtokeninit.asn1
cifs_swn.c cifs: fix potential deadlock in direct reclaim 2022-06-01 00:03:18 -05:00
cifs_swn.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c cifs: fix potential deadlock in direct reclaim 2022-06-01 00:03:18 -05:00
cifsfs.c 3 smb3 reconnect fixes 2022-06-12 11:05:44 -07:00
cifsfs.h cifs: fix reconnect on smb3 mount types 2022-06-06 01:04:12 -05:00
cifsglob.h cifs: periodically query network interfaces from server 2022-06-22 19:51:43 -05:00
cifspdu.h
cifsproto.h cifs: periodically query network interfaces from server 2022-06-22 19:51:43 -05:00
cifsroot.c
cifssmb.c
connect.c cifs: remove unnecessary locking of chan_lock while freeing session 2022-07-12 10:35:48 -05:00
dfs_cache.c cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share 2022-06-04 13:33:42 -05:00
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
fs_context.c
fs_context.h
fscache.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
fscache.h netfs: Further cleanups after struct netfs_inode wrapper introduced 2022-06-10 20:55:21 +01:00
inode.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
ioctl.c
Kconfig
link.c
Makefile cifs: do not build smb1ops if legacy support is disabled 2022-06-01 21:49:27 -05:00
misc.c cifs: change iface_list from array to sorted linked list 2022-06-22 19:51:43 -05:00
netlink.c
netlink.h
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c cifs: fix race condition with delayed threads 2022-07-12 10:35:13 -05:00
smb1ops.c cifs: fix potential deadlock in direct reclaim 2022-06-01 00:03:18 -05:00
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c
smb2ops.c cifs: periodically query network interfaces from server 2022-06-22 19:51:43 -05:00
smb2pdu.c smb3: workaround negprot bug in some Samba servers 2022-07-13 19:59:47 -05:00
smb2pdu.h
smb2proto.h
smb2status.h
smb2transport.c
smbdirect.c cifs: fix potential deadlock in direct reclaim 2022-06-01 00:03:18 -05:00
smbdirect.h
smbencrypt.c
smberr.h
trace.c
trace.h smb3: add trace point for SMB2_set_eof 2022-06-16 18:07:10 -05:00
transport.c cifs: fix potential deadlock in direct reclaim 2022-06-01 00:03:18 -05:00
unc.c
winucase.c
xattr.c