[GIT PULL] target fixes for v3.10-rc4

6 views
Skip to first unread message

Nicholas A. Bellinger

unread,
May 31, 2013, 7:06:34 PM5/31/13
to Linus Torvalds, target-devel, linux-scsi, LKML, Kees Cook, Roland Dreier
Hello Linus,

Here is the current set of target-pending fixes for v3.10-rc4 code.

Please go ahead and pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master

The highlights include:

- Re-instate sess->wait_list in target_wait_for_sess_cmds() for active
I/O shutdown handling in fabrics using se_cmd->cmd_kref
- Make ib_srpt call target_sess_cmd_list_set_waiting() during session shutdown
- Fix FILEIO off-by-one READ_CAPACITY bug for !S_ISBLK export
- Fix iscsi-target login error heap buffer overflow (Kees)
- Fix iscsi-target active I/O shutdown handling regression in v3.10-rc1

A big thanks to Kees Cook for fixing a long standing login error buffer
overflow bug.

All patches are CC'ed to stable with the exception of the v3.10-rc1
specific regression + other minor target cleanup.

Thank you,

--nab

Joern Engel (1):
target: Remove unused wait_for_tasks bit in target_wait_for_sess_cmds

Kees Cook (1):
iscsi-target: fix heap buffer overflow on error

Nicholas Bellinger (5):
target: Re-instate sess_wait_list for target_wait_for_sess_cmds
ib_srpt: Call target_sess_cmd_list_set_waiting during
shutdown_session
target/file: Fix off-by-one READ_CAPACITY bug for !S_ISBLK export
target: Propigate up ->cmd_kref put return via
transport_generic_free_cmd
iscsi-target: Fix iscsit_free_cmd() se_cmd->cmd_kref shutdown
handling

drivers/infiniband/ulp/srpt/ib_srpt.c | 34 ++++++++---
drivers/infiniband/ulp/srpt/ib_srpt.h | 1 +
drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +-
drivers/target/iscsi/iscsi_target.c | 12 ++--
drivers/target/iscsi/iscsi_target_erl2.c | 12 ++--
drivers/target/iscsi/iscsi_target_parameters.c | 8 +--
drivers/target/iscsi/iscsi_target_parameters.h | 4 +-
drivers/target/iscsi/iscsi_target_util.c | 50 ++++++++++++----
drivers/target/iscsi/iscsi_target_util.h | 2 +-
drivers/target/target_core_file.c | 11 ++--
drivers/target/target_core_transport.c | 74 +++++++++++-------------
include/target/target_core_base.h | 1 +
include/target/target_core_fabric.h | 4 +-
13 files changed, 126 insertions(+), 89 deletions(-)

--
1.7.2.5

Reply all
Reply to author
Forward
0 new messages