cifs: account for primary channel in the interface list
authorSteve French <stfrench@microsoft.com>
Fri, 26 Jan 2024 05:59:51 +0000 (23:59 -0600)
committerSteve French <stfrench@microsoft.com>
Sat, 27 Jan 2024 06:15:38 +0000 (00:15 -0600)
commit52fd880305553e6f72b038428d884939cfbed8fb
tree7ad709a4feff82a6b90ee5f99f8cc3e1e2bca3dd
parent97f6de2c9c2edb664ef012aac8c7c871d89cfe44
cifs: account for primary channel in the interface list

The refcounting of server interfaces should account
for the primary channel too. Although this is not
strictly necessary, doing so will account for the primary
channel in DebugData.

Cc: stable@vger.kernel.org
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c
fs/cifs/smb2ops.c