Date: Wed, 26 Aug 2009 21:32:50 +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: <200908262133.n7QLXGW6015625@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2009-08-26 21:32:50 UTC FreeBSD src repository Modified files: sys/netinet6 ip6_input.c Log: SVN rev 196569 on 2009-08-26 21:32:50Z by qingli 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 MFC after: immediately Revision Changes Path 1.133 +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?200908262133.n7QLXGW6015625>