mbox series

[0/2] fix race conditions with task aborts

Message ID 20201007145326.56850-1-mlombard@redhat.com (mailing list archive)
Headers show
Series fix race conditions with task aborts | expand

Message

Maurizio Lombardi Oct. 7, 2020, 2:53 p.m. UTC
This patchset fixes some possible race conditions when
2 threads call iscsit_free_cmd()/__iscsit_free_cmd() at
the same time.

Maurizio Lombardi (2):
  target: iscsi: prevent a race condition in iscsit_unmap_cmd()
  target: iscsi: fix a race condition when aborting a task

 drivers/target/iscsi/iscsi_target_login.c | 1 +
 drivers/target/iscsi/iscsi_target_util.c  | 7 ++++---
 include/target/iscsi/iscsi_target_core.h  | 1 +
 3 files changed, 6 insertions(+), 3 deletions(-)