mbox series

[0/2] target: core: fix race during ACL removal

Message ID 20220720112852.11440-1-d.bogdanov@yadro.com
Headers show
Series target: core: fix race during ACL removal | expand

Message

Dmitry Bogdanov July 20, 2022, 11:28 a.m. UTC
This patchset fixes a race condition due to incorrect usage of RCU
for se_dev_entry.se_lun variable when ACL is being removed.

Based on 5.20/scsi-queue.

Dmitry Bogdanov (2):
  target: core: fix race during ACL removal
  target: core: de-RCU of se_lun and se_lun acl

 drivers/target/target_core_alua.c   |  3 +--
 drivers/target/target_core_device.c | 32 ++++++++++-------------------
 drivers/target/target_core_pr.c     | 30 ++++++++-------------------
 drivers/target/target_core_stat.c   | 10 ++++-----
 drivers/target/target_core_xcopy.c  |  2 +-
 include/target/target_core_base.h   |  4 ++--
 6 files changed, 28 insertions(+), 53 deletions(-)