nvme-rdma: use inet_pton_with_scope helper
authorSagi Grimberg <sagi@grimberg.me>
Sun, 5 Feb 2017 19:49:32 +0000 (21:49 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
commit0928f9b4f194842d2f932d6be5c38768dfada104
treed966caed734cfcbb9fbd7d57dbdaf97f86e2cb58
parent670c2a3ad51de40bad74aef481e1f68347da22d3
nvme-rdma: use inet_pton_with_scope helper

Both the destination and the host addresses are now
parsed using inet_pton_with_scope helper. We also
get ipv6 (with address scopes support).

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/rdma.c