Date: Sun, 30 Aug 2009 22:36:46 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet6 ip6_input.c Message-ID: <200908302236.n7UMatck068896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2009-08-30 22:36:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 ip6_input.c Log: SVN rev 196671 on 2009-08-30 22:36:46Z by qingli MFC r196569 When multiple interfaces exist in the system, with each interface having an IPv6 address assigned to it, and if an incoming packet received on one interface has a packet destination address that belongs to another interface, the routing table is consulted to determine how to reach this packet destination. Since the packet destination is an interface address, the route table will return a host route with the loopback interface as rt_ifp. The input code must recognize this fact, instead of using the loopback interface, the input code performs a search to find the right interface that owns the given IPv6 address. Reviewed by: bz, gnn, kmacy Approved by: re Revision Changes Path 1.132.2.2 +25 -2 src/sys/netinet6/ip6_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908302236.n7UMatck068896>