summaryrefslogtreecommitdiff
path: root/kernel/module_signing.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-06-04 13:53:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-06-05 07:38:37 +0100
commitf5b07b04e5f090a85d1e96938520f2b2b58e4a8e (patch)
tree39e98b56c97a155993a5e64d59a4c69fee1f1343 /kernel/module_signing.c
parentcbb32079149dbf557fa3f7bab8fa3c5fec857da7 (diff)
dma-buf: Discard old fence_excl on retrying get_fences_rcu for reallocdrm-misc-next-2019-06-05
If we have to drop the seqcount & rcu lock to perform a krealloc, we have to restart the loop. In doing so, be careful not to lose track of the already acquired exclusive fence. Fixes: fedf54132d24 ("dma-buf: Restart reservation_object_get_fences_rcu() after writes") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: stable@vger.kernel.org #v4.10 Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190604125323.21396-1-chris@chris-wilson.co.uk
Diffstat (limited to 'kernel/module_signing.c')
0 files changed, 0 insertions, 0 deletions