Skip to content

target task management fixes and cleanups

Roland Dreier linux-scsi 1 version Applied

Status from this message: Applied to target-pending/master with a CC' to stable.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5target: Don't let abort handling free pending write commands too soondrivers/target/target_core_transport.c+1 -01 reply
2/5target: Fix use-after-free in LUN RESET handlingdrivers/target/target_core_transport.c+2 -31 reply
3/5target: Release se_cmd when LUN lookup fails for TMRdrivers/target/target_core_transport.c+2 -01 reply
4/5target: Remove useless if statementdrivers/target/target_core_tmr.c+0 -121 reply
5/5target: Remove never-used TMR_FABRIC_TMR enum valueinclude/target/target_core_base.h+0 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] target task management fixes and cleanups

From: Roland Dreier <[email protected]>

Hi Nic,

A few fixes for TMR handling (fix crashes when a backend is really slow, fix a reference leak if we get a TMR for a non-existent LUN) and a couple of trivial cleanups in related code.

Roland Dreier (5):
target: Don't let abort handling free pending write commands too soon
target: Fix use-after-free in LUN RESET handling
target: Release se_cmd when LUN lookup fails for TMR
target: Remove useless if statement
target: Remove never-used TMR_FABRIC_TMR enum value

 drivers/target/target_core_tmr.c       | 12 ------------
 drivers/target/target_core_transport.c |  8 +++++---
 include/target/target_core_base.h      |  1 -
 3 files changed, 5 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.0