mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
When it's time to do 4-tuple UDP IPv6 hashing, make sure this is a known
type.
This commit is contained in:
parent
58ef629f00
commit
0ae3f42231
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268914
|
@ -73,6 +73,8 @@ in6_pcbgroup_byhash(struct inpcbinfo *pcbinfo, u_int hashtype, uint32_t hash)
|
|||
#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[
|
||||
|
|
Loading…
Reference in a new issue