aboutsummaryrefslogtreecommitdiff
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorHannes Reinecke2018-07-11 10:09:28 +0200
committerMartin K. Petersen2018-07-12 23:01:16 -0400
commitbc3d12b75491c0e844a8a7ce05e84de8f7d94822 (patch)
treef9c4a04f23c7f53692304362cb56aa38dc275785 /lib/dma-debug.c
parent9a26653b9525c08bc3d0a2c5c65721e4de3a5f6d (diff)
scsi: libfc: hold disc_mutex in fc_disc_stop_rports()
fc_disc_stop_rports() is calling fc_rport_logoff(), which in turn is acquiring the rport mutex. So we cannot use RCU list traversal here, but rather need to hold the disc mutex to avoid list corruption while traversing. Fixes: a407c593398c ("scsi: libfc: Fixup disc_mutex handling") Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions