diff options
| author | Satish Kharat <[email protected]> | 2017-10-05 23:41:21 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-06 18:58:22 +0000 |
| commit | d1b3f51ee1eab3a6db1b09a60e61280c48eb0b01 (patch) | |
| tree | 2a116964644a176e41fd8e86f98ea59d0b18b803 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | scsi: fixup kernel warning during rmmod() (diff) | |
| download | kernel-d1b3f51ee1eab3a6db1b09a60e61280c48eb0b01.tar.gz kernel-d1b3f51ee1eab3a6db1b09a60e61280c48eb0b01.zip | |
scsi: libfc: fix a deadlock in fc_rport_work
In places like fc_rport_recv_plogi_req and fcoe_ctlr_vn_add we always
take the lport disc_mutex lock before the rports mutex
(rp_mutex) lock. Gaurding list_del_rcu(&rdata->peers) with
disc.disc_mutex in fc_rport_work is correct but the rp_mutex lock
can and should to be dropped before taking that lock else results
in a deadlock.
Signed-off-by: Satish Kharat <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
