]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The IPv6 code was influx at the time of r196865 due to the L2/L3
authorQing Li <qingli@FreeBSD.org>
Sun, 16 Oct 2011 22:15:13 +0000 (22:15 +0000)
committerQing Li <qingli@FreeBSD.org>
Sun, 16 Oct 2011 22:15:13 +0000 (22:15 +0000)
commite74eb12c684928ac8ded37b73541bc24b42d03a2
treedc9c2a39d40c4fbf574ae9b4bdc3249b3aed5034
parente8cc80c0a07bf3235090c7d32b7b6b746842eba8
The IPv6 code was influx at the time of r196865 due to the L2/L3
separation rewrite changes. r196865 was committed to fix a scope
violation problem in the following test scenario:

  box-1# ifconfig em0 inet6 2001:db8:1:: prefixlen 64 anycast
  box-1# ifconfig em1 inet6 2001:db8:2::1 prefixlen 64

  box-2# ifconfig re0 inet6 2001:db8:1::6 prefixlen 64

  em0 and re0 are on the same link.

  box-2# ping6 2001:db8:1::
  PING6(56=40+8+8 bytes) 2001:db8:1::6 --> 2001:db8:1::

the ICMPv6 response should have a source address of em1, which
is 2001:db8:2::1, not the link-local address of em0.

That code is no longer necessary and breaks the IPv6-Ready logo
testing, so revert it now.

Reviewed by: hrs
MFC after: 3 days
sys/netinet6/icmp6.c