aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorWang Hai <[email protected]>2020-06-12 09:08:33 +0000
committerDominique Martinet <[email protected]>2020-07-19 12:58:47 +0000
commit74d6a5d5662975aed7f25952f62efbb6f6dadd29 (patch)
treec31cb1d3bcd23daf8d7e73df4616025b6be93ace /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentnet/9p: validate fds in p9_fd_open (diff)
downloadkernel-74d6a5d5662975aed7f25952f62efbb6f6dadd29.tar.gz
kernel-74d6a5d5662975aed7f25952f62efbb6f6dadd29.zip
9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
p9_read_work and p9_fd_cancelled may be called concurrently. In some cases, req->req_list may be deleted by both p9_read_work and p9_fd_cancelled. We can fix it by ignoring replies associated with a cancelled request and ignoring cancelled request if message has been received before lock. Link: http://lkml.kernel.org/r/[email protected] Fixes: 60ff779c4abb ("9p: client: remove unused code and any reference to "cancelled" function") Cc: <[email protected]> # v3.12+ Reported-by: [email protected] Signed-off-by: Wang Hai <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions