]> git.karo-electronics.de Git - linux-beck.git/commit
SUNRPC: Use rpc_pton() in ip_map_parse()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 26 Jan 2010 19:03:47 +0000 (14:03 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 26 Jan 2010 22:52:33 +0000 (17:52 -0500)
commit07396051a5c6901693a97e35cb731a01b0b348e4
treed6d0010823464deff357fe51bf4887e048c4300c
parent73834d6f90f6833663f9effd4cf9b79b63bc36e1
SUNRPC: Use rpc_pton() in ip_map_parse()

The existing logic in ip_map_parse() can not currently parse
shorthanded IPv6 addresses (anything with a double colon), nor can
it parse an IPv6 presentation address with a scope ID.  An
IPv6-enabled mountd can pass down both.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svcauth_unix.c