Re: [PATCH v3] net/utils: generic inet_pton_with_scope helper

2017-03-30 Thread David Miller
From: Sagi Grimberg 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-

[PATCH v3] net/utils: generic inet_pton_with_scope helper

2017-03-29 Thread Sagi Grimberg
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 Reviewed-by: Christoph Hellwig Signed-off-by: Sa