[PATCH] Bug in ipip.c SIOCDELTUNNEL

Taral (taral@taral.net)
Sat, 22 Sep 2001 02:42:41 -0500


--tsOsTdHNUZQcU9Ye
Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF"
Content-Disposition: inline

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ipip.c.patch"

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

--3MwIy2ne0vdjdPXF--

--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAjusQPEACgkQoQQF8xCPwJQfRwCdHOKe1EeKrh/M0scOv02TD+Uy
HC0An3ggnCQNt9L4cq+ypPDhaSjyxufY
=lvno
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--
-
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/