[FIX][PATCH] ipv6 addrconf.c : wrong handling of non-ipv6 hardware since 2.6.21

2007-05-17 Thread Oliver Hartkopp
Hello Hideaki, hello David, since 2.6.21 the new case NETDEV_REGISTER has been added to the big 'switch' in addrconf_notify(). But within this case NETDEV_REGISTER-code no check about valid ipv6 networking hardware is done, as it is done in NETDEV_UP, NETDEV_CHANGE and others. Please

Resend: [FIX][PATCH] ipv6 addrconf.c : wrong handling of non-ipv6 hardware since 2.6.21

2007-05-17 Thread Oliver Hartkopp
Sorry. I had a problem with my mailer that disrupted the patch ... -- Hello Hideaki, hello David, since 2.6.21 the new case NETDEV_REGISTER has been added to the big 'switch' in addrconf_notify(). But within this case NETDEV_REGISTER-code no check about valid ipv6

Re: [FIX][PATCH] ipv6 addrconf.c : wrong handling of non-ipv6 hardware since 2.6.21

2007-05-17 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Thu, 17 May 2007 18:53:03 +0200), Oliver Hartkopp [EMAIL PROTECTED] says: +static int ipv6_hwtype(struct net_device *dev) +{ +if ((dev-type == ARPHRD_ETHER) || +(dev-type == ARPHRD_LOOPBACK) || +#if defined(CONFIG_IPV6_SIT) ||

Re: [FIX][PATCH] ipv6 addrconf.c : wrong handling of non-ipv6 hardware since 2.6.21

2007-05-17 Thread Oliver Hartkopp
YOSHIFUJI Hideaki / 吉藤英明 schrieb: In article [EMAIL PROTECTED] (at Thu, 17 May 2007 18:53:03 +0200), Oliver Hartkopp [EMAIL PROTECTED] says: +static int ipv6_hwtype(struct net_device *dev) +{ +if ((dev-type == ARPHRD_ETHER) || +(dev-type == ARPHRD_LOOPBACK) || +#if