Re: 2.4.0-test9-pre3: sit tunnel problems

From: Jorg de Jong (j.e.s.de.jong@freeler.nl)
Date: Wed Sep 20 2000 - 02:54:39 EST


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
>
> gmack@innerfire.net

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

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 : Sat Sep 23 2000 - 21:00:22 EST