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