IB/iser: Support IPv6 address family
authorRoi Dayan <roid@mellanox.com>
Thu, 31 Jul 2014 10:27:44 +0000 (13:27 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 1 Aug 2014 22:10:04 +0000 (15:10 -0700)
commit96ed02d4be3c68527130decd3a7d18240da4bee5
tree9939dc49cbc6717297bf70771f39d65040b0c587
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
IB/iser: Support IPv6 address family

Replace struct sockaddr_in with struct sockaddr which supports both
IPv4 and IPv6, and print using the %pIS format directive.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_verbs.c