Re: [PATCH] s390 - mark IPv6 support for QETH as broken

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Fri Jul 09 2004 - 15:00:57 EST


In article <20040709123005.086fdfc5.davem@xxxxxxxxxx> (at Fri, 9 Jul 2004 12:30:05 -0700), "David S. Miller" <davem@xxxxxxxxxx> says:

> On Fri, 9 Jul 2004 21:22:53 +0200
> Bastian Blank <bastian@xxxxxxxxxxxx> wrote:
>
> > The original submission is recorded on
> > http://marc.theaimsgroup.com/?l=linux-net&m=104551077013011&w=2. And the
> > complaint was that it puts '"ipv6 stuff" into the generic netdevice
> > structure'. I don't know if this can be solved another way.
>
> Put it in the inet6device private area.

David, inet6device area is created when we create first address.
The first address is likely link-local address based on
mac address, and kernel detects address duplication and
delete the inet6device. Finally, we don't have inet6device.

> It's been a year, and you haven't put forth the effort to look
> for solutions like that?

I'd suggest following approach.
1. support up/down via netlink interface.
2. add IFLA_IFID (or something like that) (RTM_NEWLINK attribute)
inet6 layer create inet6device without an address
when receiving this.

User will be able to do
# ip link eth0 up eui64 de:ad:be:ef:ca:fe:ba:be
or something like this.

--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/