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

David Ahern dsahern at gmail.com
Wed Jun 30 20:03:35 PDT 2021

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?

More information about the Linux-mediatek mailing list