diff options
author | andre <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
commit | 6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e (patch) | |
tree | c25b99029c9fbe87aa9d11209da4550fbc910838 /sys/netinet/ip_output.c | |
parent | 529995603c4d5d287b1446c3bde04f20544e7640 (diff) | |
download | FreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.zip FreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.tar.gz |
Remove RTF_PRCLONING from routing table and adjust users of it
accordingly. The define is left intact for ABI compatibility
with userland.
This is a pre-step for the introduction of tcp_hostcache. The
network stack remains fully useable with this change.
Reviewed by: sam (mentor), bms
Reviewed by: -net, -current, core@kame.net (IPv6 parts)
Approved by: re (scottl)
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 64d4a70..cdf8b87 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -311,7 +311,7 @@ ip_output(struct mbuf *m0, struct mbuf *opt, struct route *ro, * for correct operation (as it is for ARP). */ if (ro->ro_rt == 0) - rtalloc_ign(ro, RTF_PRCLONING); + rtalloc(ro); if (ro->ro_rt == 0) { ipstat.ips_noroute++; error = EHOSTUNREACH; @@ -940,7 +940,7 @@ spd_done: bcopy(dst, &ro_fwd->ro_dst, sizeof(*dst)); ro_fwd->ro_rt = 0; - rtalloc_ign(ro_fwd, RTF_PRCLONING); + rtalloc(ro_fwd); if (ro_fwd->ro_rt == 0) { ipstat.ips_noroute++; |