Gerhard Mack wrote:
> 
> ifconfig sit0 up tunnel ::206.123.31.102
> SIOCSIFDSTADDR: No buffer space available
> 
> Anyone know why it does this? I can't seem to find any documentation on
> that error...
> 
>         Gerhard
> 
> --
> Gerhard Mack
> 
> [EMAIL PROTECTED]

I have submitted a patch to solve this bug.
Has not been accepted thow.... :-(


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