Use the appropriate IPv6 hashtype defines when looking up the PCBGROUP
Reviewed by: adrian@
This commit is contained in:
parent
5bab80c452
commit
6700a7d44b
@ -72,9 +72,9 @@ 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_IPV4) ||
|
||||
hashtype == M_HASHTYPE_RSS_TCP_IPV6) ||
|
||||
(pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
|
||||
hashtype == M_HASHTYPE_RSS_IPV4))
|
||||
hashtype == M_HASHTYPE_RSS_IPV6))
|
||||
return (&pcbinfo->ipi_pcbgroups[
|
||||
in6_pcbgroup_getbucket(pcbinfo, hash)]);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user