Skip to content
Snippets Groups Projects
Commit 11e451e7 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: remove fence wait code from deferred client work handler


Fences attached to deferred client work items now originate from channels
belonging to the client, meaning we can be certain they've been signalled
before we destroy a client.

This closes a race that could happen if the dma_fence_wait_timeout() call
didn't succeed.  When the fence was later signalled, a use-after-free was
possible.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 470db8b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment