Skipping iscsi_ntop6()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I was having a look through the configfs properties on my iSCSI server and noticed that initiators that connect over IPv6 don't seem to have their IP address show up /sys/kernel/config/target/iscsi/$IQN_TGT/$TPGT/acls/$IQN_INIT/info. I had a quick look through the code and it seems the following block of code is to blame. Without playing with this at all, is there a reason this is commented out?

Both Windows and Linux seem to work perfectly fine with iSCSI over IPv6, and it would be nice to see the initiator IP address in the stats.

#if 0
        if (!iscsi_ntop6((const unsigned char *)
                &sock_in6.sin6_addr.in6_u,
                (char *)&conn->ipv6_login_ip[0],
                IPV6_ADDRESS_SPACE)) {
            pr_err("iscsi_ntop6() failed\n");
            iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR,
                    ISCSI_LOGIN_STATUS_TARGET_ERROR);
            goto new_sess_out;
        }
#else  
        pr_debug("Skipping iscsi_ntop6()\n");
#endif

Cheers,
Chris

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux