Merge 9da412a5b2512da64ee1c7c051ecb282284f7132 into 129479b1b7345f0055016ab3aa42ae78a4ca2048

This commit is contained in:
Cwndmiao 2025-02-28 07:55:55 +08:00 committed by GitHub
commit 49e5b9abdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -428,13 +428,6 @@ _rmapiRmControl(NvHandle hClient, NvHandle hObject, NvU32 cmd, NvP64 pUserParams
}
}
// Potential race condition if run lockless?
if (serverutilGetClientUnderLock(hClient) == NULL)
{
rmStatus = NV_ERR_INVALID_CLIENT;
goto done;
}
// only kernel clients can issue raised IRQL or lock bypass cmds
// bypass client priv check for internal calls done on behalf of lower priv
// clients