From: Weston Andros Adamson Date: Tue, 24 Apr 2012 20:50:37 +0000 (-0400) Subject: nfs4: fix referrals on mounts that use IPv6 addrs X-Git-Tag: v3.4-rc6~27^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aba1567637b93eee32253b42deaaad381c3175b;p=pandora-kernel.git nfs4: fix referrals on mounts that use IPv6 addrs All referrals (IPv4 addr, IPv6 addr, and DNS) are broken on mounts of IPv6 addresses, because validation code uses a path that is parsed from the dev_name (":") by splitting on the first colon and colons are used in IPv6 addrs. This patch ignores colons within IPv6 addresses that are escaped by '[' and ']'. Signed-off-by: Weston Andros Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed