summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_rmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/in_rmx.c')
-rw-r--r--sys/netinet/in_rmx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c
index b762c29..b33094e 100644
--- a/sys/netinet/in_rmx.c
+++ b/sys/netinet/in_rmx.c
@@ -134,13 +134,6 @@ in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
}
}
- /*
- * If the new route created successfully, and we are forwarding,
- * flush any cached routes to avoid using a stale value.
- */
- if (ret != NULL && ipforwarding)
- ip_forward_cacheinval();
-
return ret;
}
OpenPOWER on IntegriCloud