diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-08-18 22:07:44 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-08-24 03:30:46 (GMT) |
commit | c9a03c12464c851e691e8d5b6c9deba779c512e0 (patch) | |
tree | ab5ed70802d6888861dbfbd613bbd1c7c67bade5 /drivers/target/iscsi/iscsi_target.c | |
parent | 9d86a2befceb06ee83c1a588915e6d6e0abef797 (diff) | |
download | linux-c9a03c12464c851e691e8d5b6c9deba779c512e0.tar.xz |
iscsi-target: Fix iscsit_transport reference leak during NP thread reset
This patch fixes a bug in __iscsi_target_login_thread() where an explicit
network portal thread reset ends up leaking the iscsit_transport module
reference, along with the associated iscsi_conn allocation.
This manifests itself with iser-target where a NP reset causes the extra
iscsit_transport reference to be taken in iscsit_conn_set_transport()
during the reset, which prevents the ib_isert module from being unloaded
after the NP thread shutdown has finished.
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target.c')
0 files changed, 0 insertions, 0 deletions