diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2021-07-23 09:58:57 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-11-04 09:18:57 +0100 |
commit | ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c (patch) | |
tree | 1a53056d2263731c9c5641083268af161f0d530d /drivers/video | |
parent | b3ec8cdf457e5e63d396fe1346cc788cf7c1b578 (diff) | |
download | linux-ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c.tar.bz2 |
dma-buf/poll: Get a file reference for outstanding fence callbacks
This makes sure we don't hit the
BUG_ON(dmabuf->cb_in.active || dmabuf->cb_out.active);
in dma_buf_release, which could be triggered by user space closing the
dma-buf file description while there are outstanding fence callbacks
from dma_buf_poll.
Cc: stable@vger.kernel.org
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723075857.4065-1-michel@daenzer.net
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions