Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 07:39:55 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268914 - head/sys/netinet6
Message-ID:  <201407200739.s6K7dtEv083806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[



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