Make the PCBGROUPS code aware of IPv4 UDP 4-tuple.
This commit is contained in:
parent
9870806c93
commit
58ef629f00
@ -243,6 +243,8 @@ in_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_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[
|
||||
|
Loading…
x
Reference in New Issue
Block a user