summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.c
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2007-01-26 23:22:58 +0000
committerbmah <bmah@FreeBSD.org>2007-01-26 23:22:58 +0000
commitc083ee91faebfda76ef36986da2e0c942a59e96e (patch)
treeb25f54c71f535ab18b4d894243b56fe17ee32c58 /sys/netinet6/nd6.c
parentdcde6ce44f0e31dbc88ac0d91335d056755aa224 (diff)
downloadFreeBSD-src-c083ee91faebfda76ef36986da2e0c942a59e96e.zip
FreeBSD-src-c083ee91faebfda76ef36986da2e0c942a59e96e.tar.gz
Revert nd6.c revs. 1.67, 1.68, 1.69, 1.70 in an attempt to unbreak
IPv6 over point-to-point gif(4) tunnels. These revisions caused a host route to the destination of a point-to-point gif(4) interface to not get installed when the interface and destination addresses were assigned. This caused "no route to host" errors when trying to send traffic over the interface. The first packet arriving inbound over the tunnel, however, would cause the correct route to get installed, allowing subsequent outbound traffic to be routed correctly. gif(4) interfaces with prefix lengths of less than 128 bits (i.e. no explicit destination address assigned) were not affected by this bug. This bug fix is a possible candidate for a 6.2-RELEASE errata note. Approved by: jhay (original committer) Discussed with: jhay, JINMEI Tatuya MFC after: 3 days
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r--sys/netinet6/nd6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 2661c80..a0d4943 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1316,7 +1316,7 @@ nd6_rtrequest(req, rt, info)
callout_init(&ln->ln_timer_ch, 0);
/* this is required for "ndp" command. - shin */
- if (req == RTM_ADD && (rt->rt_flags & RTF_STATIC)) {
+ if (req == RTM_ADD) {
/*
* gate should have some valid AF_LINK entry,
* and ln->ln_expire should have some lifetime
OpenPOWER on IntegriCloud