forked from Minki/linux
bb765d1c33
Bump the file's refcount before moving the reference into the fd table,
not afterwards. The old code could drop the file's refcount to zero for a
short moment before calling get_file() via get_dma_buf().
This code can only be triggered on ARM systems that use Linaro's OP-TEE.
Fixes:
|
||
---|---|---|
.. | ||
optee | ||
Kconfig | ||
Makefile | ||
tee_core.c | ||
tee_private.h | ||
tee_shm_pool.c | ||
tee_shm.c |