Re: will ip 6 in ip4 tunnelling be fixed anytime soon ?

From: Jorg de Jong (j.e.s.de.jong@freeler.nl)
Date: Mon Oct 09 2000 - 04:44:34 EST


> But you are right, here is a bug nobody reported before. I will take care of
> it.
>
Hmm,

your just a bit off here, I believe Gerhard has posted this bug
a number of times, further more I have submitted a fix for this
bug, but has still not been accepted. Neither has there been any feedback
on why ?

attached you will find my patch again. it's trivial but works no the less.
I hope you will succeed where I have obvious have failed ...

regards,

Jorg de Jong

attached mail follows:


Hi,

I found that creating an ipv6 tunnel with ifconfig does not work.
after some comparing between a 2.2 kernel and 2.4.0.testX I found
that the name of the newly created sit device is not passed back to the
reqestor.
See linux/net/ipv6/addrconf.c and follow the call chain.
This seems to be introduced by fact that the parameters in 2.4
are copied while in 2.2 kernels this was not the case.
My simple patch fixes this one problem. after applying
I can now successfuly create ipv6 tunnels with ifconfig.

Please apply this patch.

thanks,

Jorg

-- 
Jorg de Jong
Work : mailto:jorg.de.jong@ict.nl 
Play : mailto:j.e.s.de.jong@freeler.nl

--- linux-2.4.0-test8/net/ipv6/sit.c Mon Aug 28 21:03:11 2000 +++ linux/net/ipv6/sit.c Tue Aug 15 22:28:27 2000 @@ -188,7 +188,7 @@ } if (i==100) goto failed; - memcpy(parms->name, dev->name, IFNAMSIZ); + memcpy(nt->parms.name, dev->name, IFNAMSIZ); } if (register_netdevice(dev) < 0) goto failed;

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:11 EST