[RFC] CIFS: Make sure IPv6 host uses numeric scope

Denys Vlasenko vda.linux at googlemail.com
Fri Sep 30 07:36:59 UTC 2016


The code is already in git.

On Fri, Sep 30, 2016 at 7:53 AM, Per Förlin <per.forlin at axis.com> wrote:
>
>> Therefore, the logic in mount.c now is:
>> insert "ip=RESOLVED_IP_ADDRESS" option not unconditionally as before,
>> but on a condition that we don't see any preexisting "ip=" options
>> in the option string.
> My point is that the "addr" param is equivalent to the "ip" param.
>
> With your proposal this works:
> mount -t cifs -o username=test,pass=pass,ip=fe80::6a05:caff:fe3e:dbf5%2 //fe80::6a05:caff:fe3e:dbf5%eth0/share1 test
>
> But this doesn't work:
> mount -t cifs -o username=test,pass=pass,addr=fe80::6a05:caff:fe3e:dbf5%2 //fe80::6a05:caff:fe3e:dbf5%eth0/share1 test
>
> I can live without the "addr" param but for compatibility it would be nice to support it too.
>
> Regardless of "addr" or not I would like to proceed with your proposal.
> Will you post your patch to the list or shall I go ahead and do it?


More information about the busybox mailing list