aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2026-07-01 05:40:22 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2026-07-01 05:46:30 +0000
commit6b75f8ff5e1b0d7ac7d576c1723d734681247fbf (patch)
treecd1e53375b4899c643303dc656e567c6fa36d399
parent4f293e32e4529617dd05bd64fd3c22a57a56a355 (diff)
inpcb: use correct mask in in6_pcblookup_lbgroup()
There is no visible bug fixed as in current tree masks are the same. Fixes: 6883b120c53735ff1681ef96d257f376731f56b3
-rw-r--r--sys/netinet6/in6_pcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c
index b8651fd8a2be..971f05838ce2 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -910,7 +910,7 @@ in6_pcblookup_lbgroup(const struct inpcbinfo *pcbinfo,
NET_EPOCH_ASSERT();
hdr = &pcbinfo->ipi_lbgrouphashbase[
- INP_PCBPORTHASH(lport, pcbinfo->ipi_porthashmask)];
+ INP_PCBPORTHASH(lport, pcbinfo->ipi_lbgrouphashmask)];
/*
* Search for an LB group match based on the following criteria: