Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102184648
D30374.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
820 B
Referenced Files
None
Subscribers
None
D30374.diff
View Options
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -740,7 +740,10 @@
}
if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
MROUTER_RLOCK();
- /* Do not forward packets from IN_LINKLOCAL. */
+ /*
+ * RFC 3927 2.7: Do not forward multicast packets from
+ * IN_LINKLOCAL.
+ */
if (V_ip_mrouter && !IN_LINKLOCAL(ntohl(ip->ip_src.s_addr))) {
/*
* If we are acting as a multicast router, all
@@ -780,7 +783,7 @@
goto ours;
if (ip->ip_dst.s_addr == INADDR_ANY)
goto ours;
- /* Do not forward packets to or from IN_LINKLOCAL. */
+ /* RFC 3927 2.7: Do not forward packets to or from IN_LINKLOCAL. */
if (IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) ||
IN_LINKLOCAL(ntohl(ip->ip_src.s_addr))) {
IPSTAT_INC(ips_cantforward);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 3:48 PM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14542338
Default Alt Text
D30374.diff (820 B)
Attached To
Mode
D30374: Restore RFC reference
Attached
Detach File
Event Timeline
Log In to Comment