[PATCH net-next 2/2] net: ipv6: don't generate link local address on PUREIP device
rocco.yue
rocco.yue at mediatek.com
Thu Feb 4 01:06:01 EST 2021
On Fri, 2021-01-29 at 19:07 -0800, Jakub Kicinski wrote:
> On Thu, 28 Jan 2021 13:58:09 +0800 Rocco Yue wrote:
> > PUREIP device such as ccmni does not need kernel to generate
> > link-local address in any addr_gen_mode, generally, it shall
> > use the IPv6 Interface Identifier, as provided by the GGSN,
> > to create its IPv6 link-ocal Unicast Address.
> >
> > Signed-off-by: Rocco Yue <rocco.yue at mediatek.com>
>
> There is no ccmni driver in the tree - is this for non-upstream
> driver?
ccmni is the name of MediaTek mobile interface, currently, it is
non-upstream driver and we plan to upstream these driver codes this
year.
Honestly, the reason why upstreamed this patch is not only that it can
be used by ccmni, but also I observed that the current Linux kernel does
not generate ipv6 link-local address only when addr_gen_mode ==
IN6_ADDR_GEN_MODE_NONE. We hope kernel can add a device type so that no
ipv6 link-local address can be generated in any addr_gen_mode.
More information about the Linux-mediatek
mailing list