]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc4fe819f76e07bfa9f1a63190c32d166fd6abe9
tree9939dc49cbc6717297bf70771f39d65040b0c587
parent5822e6b129aee9c5460116d5a197ce6b110c9351
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