patch-2.1.90 linux/include/net/dst.h
Next file: linux/include/net/ip6_route.h
Previous file: linux/include/linux/umsdos_fs.p
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue Mar 17 21:46:01 1998
-  Orig file: 
v2.1.89/linux/include/net/dst.h
-  Orig date: 
Tue Mar 10 10:03:35 1998
diff -u --recursive --new-file v2.1.89/linux/include/net/dst.h linux/include/net/dst.h
@@ -120,6 +120,8 @@
 extern __inline__
 void dst_free(struct dst_entry * dst)
 {
+	if (dst->obsolete > 1)
+		return;
 	if (!atomic_read(&dst->use)) {
 		dst_destroy(dst);
 		return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov