> 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


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:[EMAIL PROTECTED] 
Play : mailto:[EMAIL PROTECTED]
--- 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;


Reply via email to