aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-12-29 18:52:32 +0000
committerTakashi Iwai <[email protected]>2024-12-30 10:49:38 +0000
commit7439b395211874e20c24b2fe0e4903864357a3f5 (patch)
treef853ce6c302434e1b5c1275e1c116835fa88cd5e /drivers/fpga/zynqmp-fpga.c
parentALSA: compress_offload: Drop unneeded no_free_ptr() (diff)
downloadkernel-7439b395211874e20c24b2fe0e4903864357a3f5.tar.gz
kernel-7439b395211874e20c24b2fe0e4903864357a3f5.zip
ALSA: compress_offload: fix remaining descriptor races in sound/core/compress_offload.c
3d3f43fab4cf ("ALSA: compress_offload: improve file descriptors installation for dma-buf") fixed some of descriptor races in snd_compr_task_new(), but there's a couple more left. We need to grab the references to dmabuf before moving them into descriptor table - trying to do that by descriptor afterwards might end up getting a different object, with a dangling reference left in task->{input,output} Fixes: 3d3f43fab4cf ("ALSA: compress_offload: improve file descriptors installation for dma-buf") Signed-off-by: Al Viro <[email protected]> Link: https://patch.msgid.link/20241229185232.GA1977892@ZenIV Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions