Unverified Commit 3d1f69ac authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9555 smb: client: fix deadlock in smb2_find_smb_tcon()

parents 5e48db30 77aae7c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,8 +216,8 @@ smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid)
	}
	tcon = smb2_find_smb_sess_tcon_unlocked(ses, tid);
	if (!tcon) {
		cifs_put_smb_ses(ses);
		spin_unlock(&cifs_tcp_ses_lock);
		cifs_put_smb_ses(ses);
		return NULL;
	}
	spin_unlock(&cifs_tcp_ses_lock);