svn commit: r268913 - head/sys/netinet
Adrian Chadd
adrian at FreeBSD.org
Sun Jul 20 07:38:38 UTC 2014
Author: adrian
Date: Sun Jul 20 07:38:38 2014
New Revision: 268913
URL: http://svnweb.freebsd.org/changeset/base/268913
Log:
Make the PCBGROUPS code aware of IPv4 UDP 4-tuple.
Modified:
head/sys/netinet/in_pcbgroup.c
Modified: head/sys/netinet/in_pcbgroup.c
==============================================================================
--- head/sys/netinet/in_pcbgroup.c Sun Jul 20 07:37:47 2014 (r268912)
+++ head/sys/netinet/in_pcbgroup.c Sun Jul 20 07:38:38 2014 (r268913)
@@ -243,6 +243,8 @@ in_pcbgroup_byhash(struct inpcbinfo *pcb
#ifdef RSS
if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
hashtype == M_HASHTYPE_RSS_TCP_IPV4) ||
+ (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
+ hashtype == M_HASHTYPE_RSS_UDP_IPV4) ||
(pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
hashtype == M_HASHTYPE_RSS_IPV4))
return (&pcbinfo->ipi_pcbgroups[
More information about the svn-src-all
mailing list