target fixes for v3.4-rc7
Hi Linus !
This time around for -rc7, there is only a single outstanding target pending bugfix ready to be merged..
Please go ahead and pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git 3.4-urgent
This patch removes some incorrect legacy code to free se_lun_acl memory in the NodeACL release path that could potentially trigger an OOPs during shutdown once dynamic -> explicit initiator NodeACL conversion has occurred.
That said, we've been able to trigger an OOPs in v4.0 code for this special case when the associated MappedLUNs had not also been made explicit based on active TPG LUN layout during the conversion, so it really makes senses to go ahead and drop this extra cruft to avoid any possible issues here.
This ends up only effecting iscsi-target module code (it's the only user) and is CC'ed to stable.
Thanks!
--nab
Nicholas Bellinger (1):
target: Drop incorrect se_lun_acl release for dynamic -> explict ACL
conversion
drivers/target/target_core_tpg.c | 21 --------------------- 1 files changed, 0 insertions(+), 21 deletions(-)
Quoted 25 lines · Nicholas A. Bellinger
Hi Linus !
This time around for -rc7, there is only a single outstanding target pending bugfix ready to be merged..
Please go ahead and pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git3.4-urgentThis patch removes some incorrect legacy code to free
se_lun_aclmemory in the NodeACL release path that could potentially trigger an OOPs during shutdown once dynamic -> explicit initiator NodeACL conversion has occurred.That said, we've been able to trigger an OOPs in v4.0 code for this special case when the associated MappedLUNs had not also been made explicit based on active TPG LUN layout during the conversion, so it really makes senses to go ahead and drop this extra cruft to avoid any possible issues here.
This ends up only effecting iscsi-target module code (it's the only user) and is CC'ed to stable.
Thanks!
Quoted 9 lines
--nab
Nicholas Bellinger (1):
target: Drop incorrectse_lun_aclrelease for dynamic -> explict ACL
conversiondrivers/target/target_core_tpg.c | 21 --------------------- 1 files changed, 0 insertions(+), 21 deletions(-)
Whoops sorry, missed the now unused variables in this patch..
Here is the updated diff-stat for target-pending/3.4-urgent
drivers/target/target_core_tpg.c | 22 ---------------------- 1 files changed, 0 insertions(+), 22 deletions(-)
Thanks,
--nab