Date: Tue, 5 Jan 2010 22:28:23 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet6 nd6.c Message-ID: <201001052228.o05MSmqG050293@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2010-01-05 22:28:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 nd6.c Log: SVN rev 201615 on 2010-01-05 22:28:23Z by qingli MFC r201284 Multiple IPv6 addresses of the same prefix can be installed on the same interface. The first address will install the prefix route into the kernel routing table and that prefix will be marked as on-link. Without RADIX_MPATH enabled, the other address aliases of the same prefix will update the prefix reference count but no other routes will be installed. Consequently the prefixes associated with these addresses would not be marked as on-link. As such, incoming packets destined to these address aliases will fail the ND6 on-link check on input. This patch fixes the above problem by searching the kernel routing table and try to find an on-link prefix on the given interface. Revision Changes Path 1.123.2.6 +22 -2 src/sys/netinet6/nd6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001052228.o05MSmqG050293>