svn commit: r268349 - head/sys/netinet6
Bryan Venteicher
bryanv at FreeBSD.org
Mon Jul 7 00:02:49 UTC 2014
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
More information about the svn-src-all
mailing list