[PATCH v3] net/utils: generic inet_pton_with_scope helper
David Miller
davem at davemloft.net
Thu Mar 30 12:40:07 PDT 2017
From: Sagi Grimberg <sagi at grimberg.me>
Date: Wed, 29 Mar 2017 20:48:44 +0300
> Several locations in the stack need to handle ipv4/ipv6
> (with scope) and port strings conversion to sockaddr.
> Add a helper that takes either AF_INET, AF_INET6 or
> AF_UNSPEC (for wildcard) to centralize this handling.
>
> Suggested-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
This looks fine to me:
Acked-by: David S. Miller <davem at davemloft.net>
More information about the Linux-nvme
mailing list