kernel-fxtec-pro1x/drivers/target/iscsi
Nicholas Bellinger 6e5459353d iscsi-target: Enforce individual network portal export once per TargetName
This patch enforces individual network portal export on a once per TargetName
basis, thus preventing a network portal from being exported multiple times
across multiple TargetPortalGroups in a single TargetName instance.

This is done in iscsit_tpg_check_network_portal() by walking tiqn->tiqn_tpg_list
and tpg->tpg_gnp_list using iscsit_check_np_match() looking for an existing
network portal mapping from iscsit_tpg_add_network_portal() context, but only
when no pre-existing tpg_np_parent pointer is present.

Reported-by: Andy Grover <agrover@redhat.com>
Tested-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-02-19 17:58:12 -08:00
..
iscsi_target.c iscsi-target: Refactor iscsit_get_np sockaddr matching into iscsit_check_np_match 2013-02-19 17:58:04 -08:00
iscsi_target.h iscsi-target: Refactor iscsit_get_np sockaddr matching into iscsit_check_np_match 2013-02-19 17:58:04 -08:00
iscsi_target_auth.c
iscsi_target_auth.h
iscsi_target_configfs.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2012-12-15 14:25:10 -08:00
iscsi_target_configfs.h
iscsi_target_core.h target: pass sense_reason as a return value 2012-11-06 20:55:46 -08:00
iscsi_target_datain_values.c
iscsi_target_datain_values.h
iscsi_target_device.c
iscsi_target_device.h
iscsi_target_erl0.c target: iscsi: fix comment typos in target/iscsi drivers 2012-11-19 14:17:31 +01:00
iscsi_target_erl0.h
iscsi_target_erl1.c target: pass sense_reason as a return value 2012-11-06 20:55:46 -08:00
iscsi_target_erl1.h
iscsi_target_erl2.c iscsi-target: Fix CmdSN comparison (use cmd->cmd_sn instead of cmd->stat_sn) 2013-01-10 21:00:37 -08:00
iscsi_target_erl2.h iscsit: proper endianess conversions 2012-10-03 14:39:22 -07:00
iscsi_target_login.c iscsi_target: Remove redundant null check before kfree 2012-11-27 22:49:20 -08:00
iscsi_target_login.h
iscsi_target_nego.c iscsi-target: Always send a response before terminating iSCSI connection 2012-11-07 20:12:08 -08:00
iscsi_target_nego.h
iscsi_target_nodeattrib.c
iscsi_target_nodeattrib.h
iscsi_target_parameters.c iscsi-target: make some temporary buffers larger 2013-02-13 11:27:51 -08:00
iscsi_target_parameters.h
iscsi_target_seq_pdu_list.c
iscsi_target_seq_pdu_list.h
iscsi_target_stat.c target: don't truncate the fail intr address 2013-02-13 11:27:58 -08:00
iscsi_target_stat.h
iscsi_target_tmr.c iscsi-target: Fix bug in handling of ExpStatSN ACK during u32 wrap-around 2012-11-07 20:12:07 -08:00
iscsi_target_tmr.h
iscsi_target_tpg.c iscsi-target: Enforce individual network portal export once per TargetName 2013-02-19 17:58:12 -08:00
iscsi_target_tpg.h
iscsi_target_tq.c iscsi-target: Use list_first_entry() where appropriate 2012-11-06 20:55:45 -08:00
iscsi_target_tq.h
iscsi_target_util.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2012-12-15 14:25:10 -08:00
iscsi_target_util.h iscsi-target: Fix missed wakeup race in TX thread 2012-11-01 00:38:44 -07:00
Kconfig
Makefile