Re: 2.4.0-test9-pre3: sit tunnel problems

2000-09-20 Thread Jorg de Jong

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.cMon Aug 28 21:03:11 2000
+++ linux/net/ipv6/sit.cTue 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;




Re: 2.4.0-test9-pre3: sit tunnel problems

2000-09-19 Thread Meelis Roos

GM> ifconfig sit0 up tunnel ::206.123.31.102
GM> SIOCSIFDSTADDR: No buffer space available

Tunnel (or smth. like that) support is missing from the kernel. Load the
module or recompile kernel. It has helped me with the same message with ipip
tunnels for multicast routing.

-- 
Meelis Roos ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



2.4.0-test9-pre3: sit tunnel problems

2000-09-18 Thread Gerhard Mack

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]

<>< As a computer I find your faith in technology amusing.

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