mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yu-Shun Wang <yushunwa@isi.edu>
To: linux-kernel <linux-kernel@vger.kernel.org>
Date: Wed, 31 Oct 2001 12:07:51 -0800 (PST)	[thread overview]
Message-ID: <20011031115804.T2335-200000@amc.isi.edu> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 919 bytes --]

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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 288 bytes --]

--- 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;

                 reply	other threads:[~2001-10-31 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011031115804.T2335-200000@amc.isi.edu \
    --to=yushunwa@isi.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®