nvmet-rdma: use generic inet_pton_with_scope
authorSagi Grimberg <sagi@grimberg.me>
Sun, 5 Feb 2017 19:49:04 +0000 (21:49 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
commit670c2a3ad51de40bad74aef481e1f68347da22d3
treec89c9e716dd7c7cedc512217616e6c030b7c2add
parentb1a951fe469eb51646bf2e6d2c5f4a19fe1d4627
nvmet-rdma: use generic inet_pton_with_scope

Instead of parsing address strings, use a generic
helper. This also adds 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/target/rdma.c