]> git.baikalelectronics.ru Git - kernel.git/commit
iscsi-target: return the correct port in SendTargets
authorSteven Allen <steven.allen@purestorage.com>
Wed, 15 Oct 2014 17:59:21 +0000 (10:59 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 28 Oct 2014 20:54:18 +0000 (13:54 -0700)
commit801cecb031f9c5ff43396fdee19cb8d87ce20402
treeacbdaa4c86cccb1b56f5d5be57f63adc6bdecca9
parente78603990812d2fba9d50e1c7a6e8559bfcf1d18
iscsi-target: return the correct port in SendTargets

The fact that a target is published on the any address has no bearing on
which port(s) it is published. SendTargets should always send the
portal's port, not the port used for discovery.

Signed-off-by: Steven Allen <steven.allen@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c