Re: [PATCH] cifs: add a v6scope= option for specifying the ipv6 scopeid
Jeff Layton <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 10 Jun 2009 09:57:56 -0400 Jeff Layton <[email protected]> wrote: > This should allow people to mount servers on IPv6 link-local addresses. > > Signed-off-by: Jeff Layton <[email protected]> I should mention that this patch and the mount.cifs patch should be considered RFC patches. We could also consider sending the scopeid as part of the address with a '%' as a delimiter. That makes it a little trickier to parse in kernel given the existing code but that code is sort of a mess and should probably be cleaned up anyway. Doing it that way might be a cleaner solution overall. The downside is that that might break backward compatibility (old kernels won't like the '%' there). That shouldn't be too big a worry though because: 1) those kernels aren't likely to support scopeid's anyway and will probably fail to mount for other reasons 2) until recently there was an artificial 35 char limit on addresses anyway, so it's possible that mount would fail anyway. Thoughts? -- Jeff Layton <[email protected]>