[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    (resend, forgot subject :-) ipip.c patch & questions
From:       Yu-Shun Wang <yushunwa () isi ! edu>
Date:       2001-10-31 20:13:58
[Download RAW message or body]

Hi,
	Some questions about ipip.c in 2.4.*:

	The following commands don't work anymore:

	   % ip tunnel add mode ipip .... (without giving a name)
	     (assume this creates tunl5)
	   % ip tunnel change tunl5 ....
	   ! ioctl error !

	   This happened on ipip.c version 1.42 and 1.46. The attached
	   patch fixed it in 1.46. Please modify the patch as you
	   see fits since I am not very familar with kernel mod.

	The other question is, is iproute2 considered part of the
	core Linux commands like ifconfig, route, etc.? It'd
	seem kind of stange that it wasn't. Or is there any plan
	to integrate the functionality of "ip" command into the likes
	of ifconfig?

	Thanks,

	yushun.

____________________________________________________________________________
Yu-Shun Wang <yushunwa@isi.edu>               Information Sciences Institute
                                           University of Southern California

["ipip.c.patch72" (TEXT/PLAIN)]

--- ipip.c.7.2-patched	Wed Oct 31 10:04:46 2001
+++ ipip.c.7.2	Wed Oct 31 09:59:59 2001
@@ -256,7 +256,6 @@
 		if (i==100)
 			goto failed;
 		memcpy(parms->name, dev->name, IFNAMSIZ);
-		strcpy(nt->parms.name, dev->name);
 	}
 	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
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic