Date: Wed, 30 Dec 2009 21:51: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: <200912302151.nBULpddV046548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
qingli 2009-12-30 21:51:23 UTC
FreeBSD src repository
Modified files:
sys/netinet6 nd6.c
Log:
SVN rev 201284 on 2009-12-30 21:51:23Z by qingli
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.
MFC after: 5 days
Revision Changes Path
1.130 +22 -2 src/sys/netinet6/nd6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912302151.nBULpddV046548>
