diff options
| author | Henrique Carvalho <[email protected]> | 2025-03-11 18:23:59 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-13 13:41:28 +0000 |
| commit | 605b249ea96770ac4fac4b8510a99e0f8442be5e (patch) | |
| tree | 0a1e4363962483487f4ac4677b013077b35a634b /net/unix/garbage.c | |
| parent | cifs: Fix integer overflow while processing closetimeo mount option (diff) | |
| download | kernel-605b249ea96770ac4fac4b8510a99e0f8442be5e.tar.gz kernel-605b249ea96770ac4fac4b8510a99e0f8442be5e.zip | |
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: [email protected]
Reviewed-by: Enzo Matsumiya <[email protected]>
Signed-off-by: Henrique Carvalho <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
