svn commit: r268914 - head/sys/netinet6

Adrian Chadd adrian at FreeBSD.org
Sun Jul 20 07:39:55 UTC 2014


Author: adrian
Date: Sun Jul 20 07:39:54 2014
New Revision: 268914
URL: http://svnweb.freebsd.org/changeset/base/268914

Log:
  When it's time to do 4-tuple UDP IPv6 hashing, make sure this is a known
  type.

Modified:
  head/sys/netinet6/in6_pcbgroup.c

Modified: head/sys/netinet6/in6_pcbgroup.c
==============================================================================
--- head/sys/netinet6/in6_pcbgroup.c	Sun Jul 20 07:38:38 2014	(r268913)
+++ head/sys/netinet6/in6_pcbgroup.c	Sun Jul 20 07:39:54 2014	(r268914)
@@ -73,6 +73,8 @@ in6_pcbgroup_byhash(struct inpcbinfo *pc
 #ifdef RSS
 	if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
 	    hashtype == M_HASHTYPE_RSS_TCP_IPV6) ||
+	    (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
+	    hashtype == M_HASHTYPE_RSS_UDP_IPV6) ||
 	    (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
 	    hashtype == M_HASHTYPE_RSS_IPV6))
 		return (&pcbinfo->ipi_pcbgroups[


More information about the svn-src-head mailing list