Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148332564
D25567.id76384.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25567.id76384.diff
View Options
Index: head/sys/netinet6/ip6_forward.c
===================================================================
--- head/sys/netinet6/ip6_forward.c
+++ head/sys/netinet6/ip6_forward.c
@@ -260,24 +260,8 @@
* modified by a redirect.
*/
if (V_ip6_sendredirects && nh->nh_ifp == m->m_pkthdr.rcvif && !srcrt &&
- (nh->nh_flags & NHF_REDIRECT) == 0) {
- if ((nh->nh_ifp->if_flags & IFF_POINTOPOINT) != 0) {
- /*
- * If the incoming interface is equal to the outgoing
- * one, and the link attached to the interface is
- * point-to-point, then it will be highly probable
- * that a routing loop occurs. Thus, we immediately
- * drop the packet and send an ICMPv6 error message.
- *
- * type/code is based on suggestion by Rich Draves.
- * not sure if it is the best pick.
- */
- icmp6_error(mcopy, ICMP6_DST_UNREACH,
- ICMP6_DST_UNREACH_ADDR, 0);
- goto bad;
- }
+ (nh->nh_flags & NHF_REDIRECT) == 0)
type = ND_REDIRECT;
- }
/*
* Fake scoped addresses. Note that even link-local source or
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 5:25 AM (6 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29883527
Default Alt Text
D25567.id76384.diff (1 KB)
Attached To
Mode
D25567: PR247718 - incorrectly drops IPv6 packets looping back on p2p interface
Attached
Detach File
Event Timeline
Log In to Comment