Re: [PATCH] net: ipv6: don't generate link-local address in any addr_gen_mode

From: David Ahern
Date: Wed Jun 30 2021 - 23:03:42 EST


On 6/30/21 7:59 PM, Rocco Yue wrote:
> This patch provides an ipv6 proc file named
> "disable_gen_linklocal_addr", its absolute path is as follows:
> "/proc/sys/net/ipv6/conf/<iface>/disable_gen_linklocal_addr".
>
> When the "disable_gen_linklocal_addr" value of a device is 1,
> it means that this device does not need the Linux kernel to
> automatically generate the ipv6 link-local address no matter
> which IN6_ADDR_GEN_MODE is used.
>

doesn't this duplicate addr_gen_mode == 1 == IN6_ADDR_GEN_MODE_NONE?