Merge 9da412a5b2512da64ee1c7c051ecb282284f7132 into 25bef4626e6c5ccf5b433e1c22b6b1bd59e6f1bd

This commit is contained in:
Cwndmiao 2025-03-03 16:16:12 -08:00 committed by GitHub
commit 9ab1cfbbc7
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