series to fix qla2xxx use-after-free
Status from this message: Applied to for-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | qla2xxx: Get rid of redundant qla_tgt_sess.tearing_downdrivers/ drivers/ drivers/ | +1 | 1 reply | |
| 2/7 | target: Un-export target_get_sess_cmd()drivers/ include/ | +3 | 1 reply | |
| 3/7 | sbp-target: Consolidate duplicated error path code in sbp_handle_command()drivers/ | +12 | 1 reply | |
| 4/7 | target: Allow for target_submit_cmd() returning errorsdrivers/ drivers/ drivers/ +3 more | +27 | 3 replies | |
| 5/7 | target: Check sess_tearing_down in target_get_sess_cmd()drivers/ | +19 | 9 replies | |
| 6/7 | qla2xxx: Remove racy, now-redundant check of sess_tearing_downdrivers/ | +3 | 1 reply | |
| 7/7 | target: Remove se_session.sess_wait_listdrivers/ drivers/ include/ +1 more | +12 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] series to fix qla2xxx use-after-free
From: Roland Dreier <[email protected]>
Hi Nic,
Here's a series that's fundamentally about fixing a use-after-free in qla_target code. It ends up being seven patches because I wanted to make each step easy to review, and several of these are just cleanups that stand on their own.
We have a few more qla2xxx-related fixes that I need to clean up and merge with the latest. I'll send them soon.
Roland Dreier (7):
qla2xxx: Get rid of redundant qla_tgt_sess.tearing_down
target: Un-export target_get_sess_cmd()
sbp-target: Consolidate duplicated error path code in
sbp_handle_command()
target: Allow for target_submit_cmd() returning errors
target: Check sess_tearing_down in target_get_sess_cmd()
qla2xxx: Remove racy, now-redundant check of sess_tearing_down
target: Remove se_session.sess_wait_list
drivers/scsi/qla2xxx/qla_target.c | 16 ++-------- drivers/scsi/qla2xxx/qla_target.h | 1 - drivers/scsi/qla2xxx/tcm_qla2xxx.c | 10 +++--- drivers/target/sbp/sbp_target.c | 36 ++++++++++----------- drivers/target/target_core_transport.c | 55 ++++++++++++++++++++------------ drivers/target/tcm_fc/tfc_cmd.c | 8 +++-- drivers/usb/gadget/tcm_usb_gadget.c | 20 +++++------- include/target/target_core_base.h | 1 - include/target/target_core_fabric.h | 5 ++- 9 files changed, 73 insertions(+), 79 deletions(-)
Signature · 1 line
1.7.10.4