]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6]: Fix behavior of ip6_route_input() for link local address
authorYan Zheng <yanzheng@21cn.com>
Fri, 28 Oct 2005 22:12:00 +0000 (15:12 -0700)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Mon, 31 Oct 2005 18:54:05 +0000 (16:54 -0200)
commit9d17f218936a0fee43ad9493a841136589c942cd
tree055eed0fcf1c2c4566ac665334c626fac6ee2721
parenta3d7a9d77533d7516a8cfb8e2b612cd5ead4fa59
[IPV6]: Fix behavior of ip6_route_input() for link local address

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.

YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> said:

Please note that sender does need to setup neighbor entry by hand to reproduce
this bug.  (Link-local address on eth1 is not visible on eth0, from the point
of view of neighbor discovery in IPv6.)

 +--------+               +--------+
 | sender |               | router |
 +---+----+               +-+----+-+
     |eth0              eth0|    |eth1
-----+----------------------+-  -+--------------

Signed-off-by: Yan Zheng <yanzheng@21cn.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Andrew Morton <akpm@osdl.org> (forwarded)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv6/route.c