diff options
author | Andy Grover <agrover@redhat.com> | 2015-08-24 20:26:04 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-08-27 09:27:16 +0300 |
commit | 69d755747d31c07a416064f251c2f408938fb67a (patch) | |
tree | a3a4e17c1d5ddb6c2e9b5ef62a3ffeb505921058 /net/can | |
parent | 76c28f1fcfeb42b47f798fe498351ee1d60086ae (diff) | |
download | linux-69d755747d31c07a416064f251c2f408938fb67a.tar.xz |
target/iscsi: Keep local_ip as the actual sockaddr
This is a more natural format that lets us format it with the appropriate
printk specifier as needed.
This also lets us handle v4-mapped ipv6 addresses a little more nicely, by
storing the addr as an actual v4 sockaddr in conn->local_sockaddr.
Finally, we no longer need to maintain variables for port, since this is
contained in sockaddr. Remove iscsi_np.np_port and iscsi_conn.local_port.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions