Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 00:02:49 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268349 - head/sys/netinet6
Message-ID:  <201407070002.s6702nlE006629@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bryanv
Date: Mon Jul  7 00:02:49 2014
New Revision: 268349
URL: http://svnweb.freebsd.org/changeset/base/268349

Log:
  Use the appropriate IPv6 hashtype defines when looking up the PCBGROUP
  
  Reviewed by:	adrian@

Modified:
  head/sys/netinet6/in6_pcbgroup.c

Modified: head/sys/netinet6/in6_pcbgroup.c
==============================================================================
--- head/sys/netinet6/in6_pcbgroup.c	Sun Jul  6 23:27:13 2014	(r268348)
+++ head/sys/netinet6/in6_pcbgroup.c	Mon Jul  7 00:02:49 2014	(r268349)
@@ -72,9 +72,9 @@ in6_pcbgroup_byhash(struct inpcbinfo *pc
 
 #ifdef RSS
 	if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
-	    hashtype == M_HASHTYPE_RSS_TCP_IPV4) ||
+	    hashtype == M_HASHTYPE_RSS_TCP_IPV6) ||
 	    (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
-	    hashtype == M_HASHTYPE_RSS_IPV4))
+	    hashtype == M_HASHTYPE_RSS_IPV6))
 		return (&pcbinfo->ipi_pcbgroups[
 		    in6_pcbgroup_getbucket(pcbinfo, hash)]);
 #endif



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