kernel-fxtec-pro1x/fs/cifs
Pavel Shilovsky d8a76e300e SMB3: Fix persistent handles reconnect
commit d243af7ab9feb49f11f2c0050d2077e2d9556f9b upstream.

When the client hits a network reconnect, it re-opens every open
file with a create context to reconnect a persistent handle. All
create context types should be 8-bytes aligned but the padding
was missed for that one. As a result, some servers don't allow
us to reconnect handles and return an error. The problem occurs
when the problematic context is not at the end of the create
request packet. Fix this by adding a proper padding at the end
of the reconnect persistent handle context.

Cc: Stable <stable@vger.kernel.org> # 4.19.x
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:20:42 +01:00
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c smb3: allow disabling requesting leases 2019-10-05 13:10:08 +02:00
cifsfs.h
cifsglob.h cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs 2019-11-10 11:27:34 +01:00
cifspdu.h
cifsproto.h cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs 2019-11-10 11:27:34 +01:00
cifssmb.c CIFS: Respect SMB2 hdr preamble size in read responses 2019-11-06 13:05:35 +01:00
connect.c cifs: add credits from unmatched responses/messages 2019-11-06 13:05:36 +01:00
dir.c CIFS: Force reval dentry if LOOKUP_REVAL flag is set 2019-10-17 13:45:17 -07:00
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs 2019-11-10 11:27:34 +01:00
fscache.c
fscache.h
inode.c CIFS: Force revalidate inode when dentry is stale 2019-10-17 13:45:17 -07:00
ioctl.c
Kconfig
link.c
Makefile
misc.c
netmisc.c fs: cifs: mute -Wunused-const-variable message 2019-11-06 13:05:51 +01:00
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c CIFS: avoid using MID 0xFFFF 2019-10-29 09:20:01 +01:00
smb2file.c cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs 2019-11-10 11:27:34 +01:00
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c cifs: add credits from unmatched responses/messages 2019-11-06 13:05:36 +01:00
smb2ops.c CIFS: Respect SMB2 hdr preamble size in read responses 2019-11-06 13:05:35 +01:00
smb2pdu.c smb3: allow disabling requesting leases 2019-10-05 13:10:08 +02:00
smb2pdu.h SMB3: Fix persistent handles reconnect 2019-11-12 19:20:42 +01:00
smb2proto.h
smb2status.h
smb2transport.c
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c
winucase.c
xattr.c CIFS: fix max ea value size 2019-10-05 13:10:12 +02:00