kernel_optimize_test/fs/cifs
Pavel Shilovsky 8004c78c68 CIFS: Fix credits calculations for reads with errors
Currently we mark MID as malformed if we get an error from server
in a read response. This leads to not properly processing credits
in the readv callback. Fix this by marking such a response as
normal received response and process it appropriately.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2019-01-24 14:52:05 -06:00
..
asn1.c
cache.c cifs: use 64-bit timestamps for fscache 2018-08-07 14:15:41 -05:00
cifs_debug.c cifs: Add DFS cache routines 2018-12-28 10:05:58 -06:00
cifs_debug.h cifs: minor clarification in comments 2018-10-23 21:16:05 -05:00
cifs_dfs_ref.c cifs: Add support for failover in cifs_mount() 2018-12-28 10:10:29 -06:00
cifs_fs_sb.h cifs: Add support for failover in cifs_reconnect() 2018-12-28 10:13:11 -06:00
cifs_ioctl.h cifs: add IOCTL for QUERY_INFO passthrough to userspace 2018-10-23 21:16:05 -05:00
cifs_spnego.c smb3: on kerberos mount if server doesn't specify auth type use krb5 2018-11-02 14:09:41 -05:00
cifs_spnego.h
cifs_unicode.c fs/cifs: don't translate SFM_SLASH (U+F026) to backslash 2018-09-02 23:21:42 -05:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c cifs: remove coverity warning in calc_lanman_hash 2018-12-23 22:41:26 -06:00
cifsfs.c cifs: Make use of DFS cache to get new DFS referrals 2018-12-28 10:09:46 -06:00
cifsfs.h cifs: update internal module version number 2019-01-11 07:14:40 -06:00
cifsglob.h CIFS: Fix error paths in writeback code 2019-01-11 07:14:40 -06:00
cifspdu.h smb3: missing defines and structs for reparse point handling 2018-11-02 14:09:41 -05:00
cifsproto.h cifs: Add support for failover in smb2_reconnect() 2018-12-28 10:13:11 -06:00
cifssmb.c CIFS: Fix credits calculations for reads with errors 2019-01-24 14:52:05 -06:00
connect.c CIFS: Do not reconnect TCP session in add_credits() 2019-01-24 14:50:57 -06:00
dfs_cache.c cifs: Fix a tiny potential memory leak 2019-01-10 14:32:30 -06:00
dfs_cache.h cifs: Add DFS cache routines 2018-12-28 10:05:58 -06:00
dir.c cifs: Fix separator when building path from dentry 2018-12-06 02:20:17 -06:00
dns_resolve.c
dns_resolve.h
export.c
file.c CIFS: Fix error paths in writeback code 2019-01-11 07:14:40 -06:00
fscache.c cifs: use 64-bit timestamps for fscache 2018-08-07 14:15:41 -05:00
fscache.h cifs: use 64-bit timestamps for fscache 2018-08-07 14:15:41 -05:00
inode.c CIFS: Fix error paths in writeback code 2019-01-11 07:14:40 -06:00
ioctl.c cifs: add support for ioctl on directories 2018-10-23 21:16:05 -05:00
Kconfig cifs: Minor Kconfig clarification 2018-12-28 10:13:11 -06:00
link.c smb3: don't request leases in symlink creation and query 2018-08-07 14:15:57 -05:00
Makefile cifs: Add DFS cache routines 2018-12-28 10:05:58 -06:00
misc.c cifs: Add support for failover in smb2_reconnect() 2018-12-28 10:13:11 -06:00
netmisc.c cifs: use timespec64 internally 2018-08-07 14:15:41 -05:00
nterr.c
nterr.h
ntlmssp.h
readdir.c cifs: check ntwrk_buf_start for NULL before dereferencing it 2018-12-23 22:41:31 -06:00
rfc1002pdu.h
sess.c cifs: remove set but not used variable 'smb_buf' 2018-12-23 22:41:20 -06:00
smb1ops.c cifs: Make use of DFS cache to get new DFS referrals 2018-12-28 10:09:46 -06:00
smb2file.c cifs: Fix potential OOB access of lock element array 2019-01-11 07:14:40 -06:00
smb2glob.h cifs: change SMB2_OP_RENAME and SMB2_OP_HARDLINK to use compounding 2018-10-23 21:16:04 -05:00
smb2inode.c cifs: we can not use small padding iovs together with encryption 2018-12-31 00:58:52 -06:00
smb2maperror.c CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem 2018-12-23 22:42:56 -06:00
smb2misc.c smb3: minor debugging clarifications in rfc1001 len processing 2018-09-02 23:21:42 -05:00
smb2ops.c CIFS: Do not reconnect TCP session in add_credits() 2019-01-24 14:50:57 -06:00
smb2pdu.c cifs: fix memory leak of an allocated cifs_ntsd structure 2019-01-24 09:37:33 -06:00
smb2pdu.h smb3: add smb3.1.1 to default dialect list 2019-01-03 14:45:58 -06:00
smb2proto.h cifs: we can not use small padding iovs together with encryption 2018-12-31 00:58:52 -06:00
smb2status.h
smb2transport.c CIFS: fix uninitialized ptr deref in smb2 signing 2018-08-07 14:30:59 -05:00
smbdirect.c RDMA: Start use ib_device_ops 2018-12-12 07:40:16 -07:00
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c smb3: Cleanup license mess 2019-01-24 09:37:33 -06:00
trace.h smb3: Cleanup license mess 2019-01-24 09:37:33 -06:00
transport.c CIFS: Move credit processing to mid callbacks for SMB3 2019-01-11 07:14:40 -06:00
winucase.c
xattr.c smb3: create smb3 equivalent alias for cifs pseudo-xattrs 2018-08-10 18:46:58 -05:00