[linux-cifs-client] [PATCH] cifs: add a v6scope= option for specifying the ipv6 scopeid

Jeff Layton jlayton at redhat.com
Wed Jun 10 14:19:56 GMT 2009


On Wed, 10 Jun 2009 09:57:56 -0400
Jeff Layton <jlayton at redhat.com> wrote:

> This should allow people to mount servers on IPv6 link-local addresses.
> 
> Signed-off-by: Jeff Layton <jlayton at redhat.com>

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 <jlayton at redhat.com>


More information about the linux-cifs-client mailing list