mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
702a47ce6d
Copy the relevant data from userspace to the vb->planes unconditionally
as it's possible some of the fields may have changed after the buffer
has been validated.
Keep the dma_buf_put(planes[plane].dbuf) calls in the first
`if (!reacquired)` case, in order to be close to the plane validation code
where the buffers were got in the first place.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
b2c2 | ||
saa7146 | ||
siano | ||
v4l2-tpg | ||
videobuf2 | ||
cx2341x.c | ||
cypress_firmware.c | ||
cypress_firmware.h | ||
Kconfig | ||
Makefile | ||
ttpci-eeprom.c | ||
ttpci-eeprom.h | ||
tveeprom.c | ||
uvc.c |