linux-stable/fs/cifs
Shyam Prasad N b6c4a44e89 cifs: add a warning when the in-flight count goes negative
[ Upstream commit e4645cc2f1 ]

We've seen the in-flight count go into negative with some
internal stress testing in Microsoft.

Adding a WARN when this happens, in hope of understanding
why this happens when it happens.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:16:46 +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: add ';' in HOST_KEY_LEN 2023-11-28 16:54:55 +00:00
cifs_spnego.h
cifs_unicode.c CIFS: Fix a potencially linear read overflow 2021-09-15 09:50:43 +02:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: Fix non-availability of dedup breaking generic/304 2023-12-13 18:27:07 +01:00
cifsfs.h cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL 2023-04-05 11:23:49 +02:00
cifsglob.h cifs: fix oops during encryption 2023-01-14 10:16:25 +01:00
cifspdu.h
cifsproto.h cifs: fix oops during encryption 2023-01-14 10:16:25 +01:00
cifsroot.c
cifssmb.c cifs: prevent infinite recursion in CIFSGetDFSRefer() 2023-04-05 11:23:49 +02:00
connect.c cifs: fix confusing debug message 2023-01-14 10:16:34 +01:00
dfs_cache.c
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: Release folio lock on fscache read hit. 2023-08-26 15:26:55 +02:00
fs_context.c
fs_context.h
fscache.c
fscache.h
inode.c
ioctl.c cifs: Fix wrong return value checking when GETFLAGS 2022-11-25 17:45:48 +01:00
Kconfig
link.c cifs: Fix uninitialized memory read for smb311 posix symlink create 2023-01-18 11:44:54 +01:00
Makefile
misc.c smb: client: fix OOB in smbCalcSize() 2024-01-05 15:12:29 +01:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c cifs: Fix xid leak in cifs_ses_add_channel() 2022-10-30 09:41:17 +01:00
smb1ops.c
smb2file.c cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl() 2022-09-15 11:32:04 +02:00
smb2glob.h
smb2inode.c cifs: Fix smb2_set_path_size() 2023-03-22 13:30:03 +01:00
smb2maperror.c
smb2misc.c smb3: Replace smb2pdu 1-element arrays with flex-arrays 2024-02-23 08:41:55 +01:00
smb2ops.c cifs: add a warning when the in-flight count goes negative 2024-03-01 13:16:46 +01:00
smb2pdu.c smb: client: fix parsing of SMB3.1.1 POSIX create context 2024-03-01 13:16:43 +01:00
smb2pdu.h smb3: Replace smb2pdu 1-element arrays with flex-arrays 2024-02-23 08:41:55 +01:00
smb2proto.h smb: client: fix potential OOBs in smb2_parse_contexts() 2024-03-01 13:16:43 +01:00
smb2status.h
smb2transport.c cifs: fix check of rc in function generate_smb3signingkey 2023-11-28 16:54:55 +00:00
smbdirect.c smbdirect: missing rc checks while waiting for rdma events 2023-11-08 17:30:46 +01:00
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: Move the in_send statistic to __smb_send_rqst() 2023-03-22 13:29:55 +01:00
winucase.c
xattr.c smb3: fix caching of ctime on setxattr 2023-12-08 08:46:15 +01:00