summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2003-11-20 19:47:31 +0000
committerandre <andre@FreeBSD.org>2003-11-20 19:47:31 +0000
commit6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e (patch)
treec25b99029c9fbe87aa9d11209da4550fbc910838 /sys/netinet/ip_icmp.c
parent529995603c4d5d287b1446c3bde04f20544e7640 (diff)
downloadFreeBSD-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_icmp.c')
-rw-r--r--sys/netinet/ip_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 12c6c42..f94e7b9 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -415,7 +415,7 @@ icmp_input(m, off)
int mtu;
rt = rtalloc1((struct sockaddr *)&icmpsrc, 0,
- RTF_CLONING | RTF_PRCLONING);
+ RTF_CLONING);
if (rt && (rt->rt_flags & RTF_HOST)
&& !(rt->rt_rmx.rmx_locks & RTV_MTU)) {
mtu = ntohs(icp->icmp_nextmtu);
OpenPOWER on IntegriCloud