lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH]behavior of ip6_route_input() for link local address.
Hi

I find that linux will reply echo request destined to an address which belongs to an interface other than the one from which the request received.
This behavior doesn't make sense for link local address.


Index: net/ipv6/route.c
===================================================================
--- linux-2.6.14-rc4-git6/net/ipv6/route.c 2005-10-20 12:02:49.000000000 +0800
+++ linux/net/ipv6/route.c 2005-10-20 12:21:03.000000000 +0800
@@ -483,7 +483,7 @@
goto out;
}

- rt = rt6_device_match(rt, skb->dev->ifindex, 0);
+ rt = rt6_device_match(rt, skb->dev->ifindex, strict);
BACKTRACK();

if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP)) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-10-20 06:53    [W:0.075 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site