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

Shirish Pargaonkar shirishpargaonkar at gmail.com
Wed Jun 10 16:07:33 GMT 2009


On Wed, Jun 10, 2009 at 9:19 AM, Jeff Layton<jlayton at redhat.com> wrote:
> 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>
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>

Does this take care of samba bugzilla bug 4548?


More information about the linux-cifs-client mailing list