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

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