mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2025-03-14 09:29:24 +01:00
Fix potential race condition in _rmapiRmControl
This commit is contained in:
parent
e45d91de02
commit
9da412a5b2
@ -427,13 +427,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user