diff options
author | Henrique Carvalho <henrique.carvalho@suse.com> | 2025-03-11 21:23:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:56:58 +0300 |
commit | ca24634fc58a2271c0a6e0f34b93bcbd1ffe4343 (patch) | |
tree | e61fc1dd5f8acebbedd1b3b2c38858fc7634c0fa /tools/perf/scripts/python/sched-migration.py | |
parent | 5a49a524cbd3fcd5ec5a555062fd68e476ff8038 (diff) | |
download | linux-ca24634fc58a2271c0a6e0f34b93bcbd1ffe4343.tar.xz |
smb: client: Fix match_session bug preventing session reuse
[ Upstream commit 605b249ea96770ac4fac4b8510a99e0f8442be5e ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions