diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-26 11:09:41 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-22 21:01:59 (GMT) |
commit | ed279ab0b9662a197ddd26ba248272a693f0329f (patch) | |
tree | 5a06dc3247dd47803172dd327bbe43e1a50b70d9 /tools/usb | |
parent | a45288994f370d0d3014332acfe65207459818d2 (diff) | |
download | linux-fsl-qoriq-ed279ab0b9662a197ddd26ba248272a693f0329f.tar.xz |
iscsi-target: Fix iscsit_get_tpg_from_np tpg_state bug
commit a2a99cea5ec7c1e47825559f0e75a4efbcf8aee3 upstream.
This patch fixes a bug in iscsit_get_tpg_from_np() where the
tpg->tpg_state sanity check was looking for TPG_STATE_FREE,
instead of != TPG_STATE_ACTIVE.
The latter is expected during a normal TPG shutdown once the
tpg_state goes into TPG_STATE_INACTIVE in order to reject any
new incoming login attempts.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions