Re: 2.5.12(bk): IPv6 over IPv4 tunnel device initialization

David S. Miller (davem@redhat.com)
Thu, 02 May 2002 06:28:47 -0700 (PDT)


From: Alex Riesen <Alexander.Riesen@synopsys.com>
Date: Thu, 2 May 2002 14:33:35 +0200

Hello,
just came across a suspicious warning:

...
CC net/ipv6/ip6_input.o
CC net/ipv6/addrconf.o
CC net/ipv6/sit.o
.../net/ipv6/sit.c:67: warning: initialization makes integer from pointer without a cast
...

It looks like the order of fields in net_device has changed,
as the net_device::init is not initialized now with
ipip6_fb_tunnel_init, but with a 0.
Using field labels in the initialization would be a good thing, imho.

I've sent Linus a fix for this...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/