All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Call blk_mq_free_tag_set() earlier
@ 2022-07-28 22:18 Bart Van Assche
  2022-07-28 22:18 ` [PATCH v5 1/4] scsi: core: Make sure that targets outlive devices Bart Van Assche
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Bart Van Assche @ 2022-07-28 22:18 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: Jaegeuk Kim, linux-scsi, Adrian Hunter, Bart Van Assche

Hi Martin,

This patch series fixes a recently reported use-after-free in the SRP driver.
Please consider this patch series for kernel v5.20.

Changes compared to v4:
- Left out the scsi_mq_destroy_tags() changes.

Changes compared to v3:
- Added a patch to delay scsi_remove_target() until dependent devices have been
  removed.
- Split a patch into two patches.

Changes compared to v2:
- Dropped the patch that simplifies scsi_forget_host().
- Replaced patch 2/3 with a patch from Ming Lei.

Changes compared to v1:
- Expanded this series from one to three patches.
- Fixed the description of patch 3/3.

Thanks,

Bart.

Bart Van Assche (2):
  scsi: core: Make sure that targets outlive devices
  scsi: core: Call blk_mq_free_tag_set() earlier

Ming Lei (2):
  scsi: core: Make sure that hosts outlive targets
  scsi: core: Simplify LLD module reference counting

 drivers/scsi/hosts.c       | 18 +++++++++++++-----
 drivers/scsi/scsi.c        |  9 ++++++---
 drivers/scsi/scsi_scan.c   |  9 +++++++++
 drivers/scsi/scsi_sysfs.c  | 29 +++++++++++++++++------------
 include/scsi/scsi_device.h |  2 ++
 include/scsi/scsi_host.h   |  3 +++
 6 files changed, 50 insertions(+), 20 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-06 15:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 22:18 [PATCH v5 0/4] Call blk_mq_free_tag_set() earlier Bart Van Assche
2022-07-28 22:18 ` [PATCH v5 1/4] scsi: core: Make sure that targets outlive devices Bart Van Assche
2022-07-28 22:18 ` [PATCH v5 2/4] scsi: core: Make sure that hosts outlive targets Bart Van Assche
2022-09-05 17:40   ` Guenter Roeck
2022-09-06 14:16     ` Bart Van Assche
2022-09-06 14:23       ` Guenter Roeck
2022-07-28 22:18 ` [PATCH v5 3/4] scsi: core: Simplify LLD module reference counting Bart Van Assche
2022-07-28 22:18 ` [PATCH v5 4/4] scsi: core: Call blk_mq_free_tag_set() earlier Bart Van Assche
2022-07-29 15:59 ` [PATCH v5 0/4] " Mike Christie
2022-08-01 23:45 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.