iscsi: fix isns warning

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
iscsi: fix iSNS tlv length field to include NULL-termination

RFC4171 says:

Length: indicates the attribute length in bytes used for the TLV
        format.  Variable-length identifiers are NULL-terminated
        and 4-byte aligned (NULLs are included in the length).

This fix came from IET:

http://www.nabble.com/Name-lenght-problem-td14417247.html

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
iscsi: fix isns connection failure

Fix the error
"isns_get_ip(112) getaddrinfo error Temporary failure in name resolution!"

by providing NI_NUMERICHOST in flags of getnameinfo().

Also fix a typo (getaddrinfo to getnameinfo in eprintf).

[cvubrugier: eprintf() is log_print() in target-isns]

Signed-off-By: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
iscsi: fix isns bogus registration message for ISNS_FUNC_SCN_DEREG_RSP

Fix the error
"tgtd: isns_handle(764) unknown function 8006 4 4c00 6 0"

by handling ISNS_FUNC_SCN_DEREG_RSP

Signed-Off-By: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Merge branch 'fixes-from-tgt'

This branch contains various fixes for iSNS from the TGT project.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>