Message ID | 20220727214125.19647-1-d.bogdanov@yadro.com (mailing list archive) |
---|---|
Headers | show |
Series | target: core: fix race during ACL removal | expand |
On 7/27/22 4:41 PM, Dmitry Bogdanov wrote: > 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. > > v2: > add more details in commit message > fix misformatting > > 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 | 28 ++++++++----------------- > drivers/target/target_core_stat.c | 10 ++++----- > drivers/target/target_core_xcopy.c | 2 +- > include/target/target_core_base.h | 4 ++-- > 6 files changed, 27 insertions(+), 52 deletions(-) > Reviewed-by: Mike Christie <michael.christie@oracle.com>
Dmitry, > This patchset fixes a race condition due to incorrect usage of RCU for > se_dev_entry.se_lun variable when ACL is being removed. Applied to 5.20/scsi-staging, thanks!