mirror-linux/fs/smb/client
Steve French 7b38f6ddc9 smb3: display network namespace in debug information
We recently had problems where a network namespace was deleted
causing hard to debug reconnect problems.  To help deal with
configuration issues like this it is useful to dump the network
namespace to better debug what happened.

So add this to information displayed in /proc/fs/cifs/DebugData for
the server (and channels if mounted with multichannel). For example:

   Local Users To Server: 1 SecMode: 0x1 Req On Wire: 0 Net namespace: 4026531840

This can be easily compared with what is displayed for the
processes on the system. For example /proc/1/ns/net in this case
showed the same thing (see below), and we can see that the namespace
is still valid in this example.

   'net:[4026531840]'

Cc: stable@vger.kernel.org
Acked-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-08-14 08:41:29 -05:00
..
Kconfig
Makefile
asn1.c
cached_dir.c cifs: Add a laundromat thread for cached directories 2023-07-05 22:36:07 -05:00
cached_dir.h cifs: Add a laundromat thread for cached directories 2023-07-05 22:36:07 -05:00
cifs_debug.c smb3: display network namespace in debug information 2023-08-14 08:41:29 -05:00
cifs_debug.h
cifs_dfs_ref.c smb: client: fix parsing of source mount option 2023-06-28 11:48:56 -05:00
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_spnego_negtokeninit.asn1
cifs_swn.c
cifs_swn.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c 20 cifs/smb3 fixes, 8 for stable 2023-06-30 22:00:28 -07:00
cifsfs.h cifs: update internal module version number for cifs.ko 2023-07-22 14:43:13 -05:00
cifsglob.h cifs: fix charset issue in reconnection 2023-07-25 00:31:24 -05:00
cifspdu.h
cifsproto.h smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
cifsroot.c
cifssmb.c cifs: fix charset issue in reconnection 2023-07-25 00:31:24 -05:00
connect.c cifs: fix charset issue in reconnection 2023-07-25 00:31:24 -05:00
dfs.c smb: client: fix dfs link mount against w2k8 2023-08-02 13:36:12 -05:00
dfs.h smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
dfs_cache.c smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
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-14 08:39:12 -05:00
fs_context.c smb: client: fix parsing of source mount option 2023-06-28 11:48:56 -05:00
fs_context.h
fscache.c
fscache.h
inode.c
ioctl.c cifs: add missing return value check for cifs_sb_tlink 2023-07-26 15:41:27 -05:00
link.c
misc.c cifs: fix charset issue in reconnection 2023-07-25 00:31:24 -05:00
netlink.c
netlink.h
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request 2023-07-25 01:16:05 -05:00
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c smb: client: fix broken file attrs with nodfs mounts 2023-06-28 11:47:53 -05:00
smb2maperror.c
smb2misc.c
smb2ops.c cifs: is_network_name_deleted should return a bool 2023-07-14 11:24:14 -05:00
smb2pdu.c cifs: fix charset issue in reconnection 2023-07-25 00:31:24 -05:00
smb2pdu.h
smb2proto.h
smb2status.h
smb2transport.c smb: client: fix missed ses refcounting 2023-07-12 23:29:39 -05:00
smbdirect.c asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
smbdirect.h
smbencrypt.c
smberr.h
trace.c
trace.h cifs: new dynamic tracepoint to track ses not found errors 2023-06-29 09:58:09 -05:00
transport.c cifs: do all necessary checks for credits within or before locking 2023-06-28 11:46:58 -05:00
unc.c
winucase.c
xattr.c