Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 16:46:33 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264976 - head/sys/netinet6
Message-ID:  <201404261646.s3QGkXlG032479@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Sat Apr 26 16:46:33 2014
New Revision: 264976
URL: http://svnweb.freebsd.org/changeset/base/264976

Log:
  Use "hash" value in rtalloc_mpath_fib() instead of RTF_ANNOUNCE flag.
  Hashing method is the same as in in6_src.c. (Probably we need better one).
  
  MFC after:	2 weeks

Modified:
  head/sys/netinet6/nd6_nbr.c

Modified: head/sys/netinet6/nd6_nbr.c
==============================================================================
--- head/sys/netinet6/nd6_nbr.c	Sat Apr 26 16:34:22 2014	(r264975)
+++ head/sys/netinet6/nd6_nbr.c	Sat Apr 26 16:46:33 2014	(r264976)
@@ -242,7 +242,7 @@ nd6_ns_input(struct mbuf *m, int off, in
 
 		/* Always use the default FIB. */
 #ifdef RADIX_MPATH
-		rtalloc_mpath_fib((struct route *)&ro, RTF_ANNOUNCE,
+		rtalloc_mpath_fib((struct route *)&ro, ntohl(taddr6.s6_addr32[3]),
 		    RT_DEFAULT_FIB);
 #else
 		in6_rtalloc(&ro, RT_DEFAULT_FIB);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261646.s3QGkXlG032479>