public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bug in ipip.c SIOCDELTUNNEL
@ 2001-09-22  7:42 Taral
  2001-09-25  5:11 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Taral @ 2001-09-22  7:42 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]

Patch is attached. Basically we were always removing "tunl0" even if a
different tunnel was specified.

-- 
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose

[-- Attachment #1.2: ipip.c.patch --]
[-- Type: text/plain, Size: 271 bytes --]

--- /usr/src/linux-2.4.10-pre14/net/ipv4/ipip.c	Sat Sep 22 01:18:30 2001
+++ net/ipv4/ipip.c	Sat Sep 22 02:39:07 2001
@@ -758,6 +758,7 @@
 			err = -EPERM;
 			if (t == &ipip_fb_tunnel)
 				goto done;
+			dev = t->dev;
 		}
 		err = unregister_netdevice(dev);
 		break;

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-25  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-22  7:42 [PATCH] Bug in ipip.c SIOCDELTUNNEL Taral
2001-09-25  5:11 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox