Searched hist:fe1bad73d35f228aba3f41538aec401a03add9b1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/smb/client/ |
H A D | connect.c | diff fe1bad73d35f228aba3f41538aec401a03add9b1 Mon Oct 30 15:19:53 CDT 2023 Paulo Alcantara <pc@manguebit.com> smb: client: remove extra @chan_count check in __cifs_put_smb_ses()
[ Upstream commit c37ed2d7d09869f30d291b9c6cba56ea4f0b0417 ]
If @ses->chan_count <= 1, then for-loop body will not be executed so no need to check it twice.
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Stable-dep-of: 24a9799aa8ef ("smb: client: fix UAF in smb2_reconnect_server()") Signed-off-by: Sasha Levin <sashal@kernel.org>
|