Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:35341 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754454Ab2DTVm6 (ORCPT ); Fri, 20 Apr 2012 17:42:58 -0400 From: "Adamson, Dros" To: "Myklebust, Trond" CC: "Adamson, Dros" , Chuck Lever , "" Subject: Re: [PATCH] NFS4: fix referrals with IPv6 mounts Date: Fri, 20 Apr 2012 21:42:56 +0000 Message-ID: References: <1334949705-33393-1-git-send-email-dros@netapp.com> <79682769-1052-4392-A63D-F686A81C2BBE@netapp.com> <41440F4B-99AC-48AC-A1F8-C9A3DED9E76E@netapp.com> <1334957938.3295.37.camel@lade.trondhjem.org> In-Reply-To: <1334957938.3295.37.camel@lade.trondhjem.org> Content-Type: multipart/signed; boundary="Apple-Mail=_3AAFBF2C-7FC9-4EFD-9E33-042BF89E76D4"; protocol="application/pkcs7-signature"; micalg=sha1 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: --Apple-Mail=_3AAFBF2C-7FC9-4EFD-9E33-042BF89E76D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 20, 2012, at 5:39 PM, Myklebust, Trond wrote: > On Fri, 2012-04-20 at 21:31 +0000, Adamson, Dros wrote: >> On Apr 20, 2012, at 5:25 PM, Adamson, Dros wrote: >> To be clear: the problem is *not* with IPv6 addrs in FS_LOCATIONS = attrs. They work if the parent mount is IPv4/dns. The problem is when = the parent mount is IPv6 *no* referrals work (IPv4, IPv6 or DNS), = because of the issue described above. >=20 > There is a problem there too. If you don't bracket the IPv6 address = that > you get from fs_locations, then you'll hit the same problem if you hit = a > referral on the referred-to server. Ok, but that's a moot point at this stage as [] escaping is always = getting stripped from dentry->d_fsdata (really from dev_name passed to = mount as far as I can tell). -dros= --Apple-Mail=_3AAFBF2C-7FC9-4EFD-9E33-042BF89E76D4 Content-Disposition: attachment; filename="smime.p7s" Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDTzCCA0sw ggIzoAMCAQICAQEwCwYJKoZIhvcNAQEFMEYxFzAVBgNVBAMMDldlc3RvbiBBZGFtc29uMQswCQYD VQQGEwJVUzEeMBwGCSqGSIb3DQEJARYPZHJvc0BuZXRhcHAuY29tMB4XDTExMDYwODIyMDc0NloX DTEyMDYwNzIyMDc0NlowRjEXMBUGA1UEAwwOV2VzdG9uIEFkYW1zb24xCzAJBgNVBAYTAlVTMR4w HAYJKoZIhvcNAQkBFg9kcm9zQG5ldGFwcC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK AoIBAQC8/tJxtovJEXYRfSsrFOWKHxIZGY7/2mBee1DpWuoGDbVNapefCC7WXe+Nqxz609w2J/Mk /k3trZ3Ge2NXK0tGnP9NzjkzpGA7rSpM3wUFsvbLMUEGfQpvV24/nYvcLHTvOOEUaDPpHduN94bD dwvyowzDIRIpF2MeRnOzBNeHkrGHlZdzPmGjm8tkhrDRRkDYHhlxaiG4z30KCfAazxomuINiy1kj vbndXooYMDoh9H63hgW4NkOedtLdflLa322DXQ3nFU7YbyOIjHVl1tgWJLDWf7WT3lsAB8KvuJZ5 zhsUB+fqxCKPJVRPDO1gjChvvtGiG1tGUUZz0H9Wx00zAgMBAAGjRjBEMA4GA1UdDwEB/wQEAwIH gDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDBDAaBgNVHREEEzARgQ9kcm9zQG5ldGFwcC5jb20wDQYJ KoZIhvcNAQEFBQADggEBACv0niZSmW+psB1sJXULh3mecDbN2mj0bFpN1YNdjcV7BiOLJ1Rs1ibV f13h73z8C7SBsPXTM5si8gmJtOnXM5jsgtlql44h/RrjUr8+mtK5DPCZls9J7iz3cGthzwOPvxUj nMSv3BpRX5oJom5ESgCM9Nn4u/ECTlLMhEIOYnBFiN0e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