patch-2.1.30 linux/net/core/dst.c

Next file: linux/net/core/firewall.c
Previous file: linux/net/bridge/br_tree.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/net/core/dst.c linux/net/core/dst.c
@@ -41,7 +41,7 @@
 	del_timer(&dst_gc_timer);
 	dstp = &dst_garbage_list;
 	while ((dst = *dstp) != NULL) {
-		if (dst->refcnt) {
+		if (dst->use) {
 			dstp = &dst->next;
 			delayed++;
 			continue;

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]