summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorHenrique Carvalho <henrique.carvalho@suse.com>2025-03-11 21:23:59 +0300
committerSteve French <stfrench@microsoft.com>2025-03-13 16:41:28 +0300
commit605b249ea96770ac4fac4b8510a99e0f8442be5e (patch)
tree0a1e4363962483487f4ac4677b013077b35a634b /rust/helpers/err.c
parentd5a30fddfe2f2e540f6c43b59cf701809995faef (diff)
downloadlinux-605b249ea96770ac4fac4b8510a99e0f8442be5e.tar.xz
smb: client: Fix match_session bug preventing session reuse
Fix a bug in match_session() that can causes the session to not be reused in some cases. Reproduction steps: mount.cifs //server/share /mnt/a -o credentials=creds mount.cifs //server/share /mnt/b -o credentials=creds,sec=ntlmssp cat /proc/fs/cifs/DebugData | grep SessionId | wc -l mount.cifs //server/share /mnt/b -o credentials=creds,sec=ntlmssp mount.cifs //server/share /mnt/a -o credentials=creds cat /proc/fs/cifs/DebugData | grep SessionId | wc -l Cc: stable@vger.kernel.org Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions