summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-01-16 23:33:48 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-13 11:16:59 -0800
commit7b88c23d62bcaf794ebd97400869d00f00befcd6 (patch)
tree569c0545764aa29500fa8fb495c34815f7a56afe /sound
parent49f4afd3b15866b16b72691a6060fad041e8f2dc (diff)
downloadlinux-stable-7b88c23d62bcaf794ebd97400869d00f00befcd6.tar.gz
linux-stable-7b88c23d62bcaf794ebd97400869d00f00befcd6.tar.bz2
linux-stable-7b88c23d62bcaf794ebd97400869d00f00befcd6.zip
iscsi-target: Fix discovery with INADDR_ANY and IN6ADDR_ANY_INIT
commit 2f9bc894c67dbacae5a6a9875818d2a18a918d18 upstream. This patch addresses a bug with sendtargets discovery where INADDR_ANY (0.0.0.0) + IN6ADDR_ANY_INIT ([0:0:0:0:0:0:0:0]) network portals where incorrectly being reported back to initiators instead of the address of the connecting interface. To address this, save local socket ->getname() output during iscsi login setup, and makes iscsit_build_sendtargets_response() return these TargetAddress keys when INADDR_ANY or IN6ADDR_ANY_INIT portals are in use. Reported-by: Dax Kelson <dkelson@gurulabs.com> Reported-by: Andy Grover <agrover@redhat.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions