netdev
[Top] [All Lists]

[PATCH] ipv6 sit.c smal bug fix in creating tunnel

To: netdev@xxxxxxxxxxx
Subject: [PATCH] ipv6 sit.c smal bug fix in creating tunnel
From: Jorg de Jong <j.e.s.de.jong@xxxxxxxxxx>
Date: Tue, 15 Aug 2000 23:02:07 +0200
Sender: owner-netdev@xxxxxxxxxxx
Hi,

the following triggers the error

        [root] /root > ifconfig sit0 tunnel ::206.123.31.102
        SIOCSIFDSTADDR: No buffer space available

and the attached patch against 2.4.0-test6 fixes it. 
Am I right to post this fix here or should it go to the lkml 
or somewhere else?


-- 
Jorg de Jong
Work : mailto:jorg.de.jong@xxxxxx 
Play : mailto:j.e.s.de.jong@xxxxxxxxxx
diff -u --recursive --new-file linux-2.4.0-test6/net/ipv6/sit.c 
linux/net/ipv6/sit.c
--- linux-2.4.0-test6/net/ipv6/sit.c    Tue Aug 15 22:28:27 2000
+++ linux/net/ipv6/sit.c        Tue Aug 15 22:55:05 2000
@@ -188,7 +188,7 @@
                }
                if (i==100)
                        goto failed;
-               memcpy(nt->parms.name, dev->name, IFNAMSIZ);
+               memcpy(parms->name, dev->name, IFNAMSIZ);
        }
        if (register_netdevice(dev) < 0)
                goto failed;
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] ipv6 sit.c smal bug fix in creating tunnel, Jorg de Jong <=