The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6b75f8ff5e1b0d7ac7d576c1723d734681247fbf

commit 6b75f8ff5e1b0d7ac7d576c1723d734681247fbf
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2026-07-01 05:40:22 +0000
Commit:     Gleb Smirnoff <[email protected]>
CommitDate: 2026-07-01 05:46:30 +0000

    inpcb: use correct mask in in6_pcblookup_lbgroup()
    
    There is no visible bug fixed as in current tree masks are the same.
    
    Fixes:  6883b120c53735ff1681ef96d257f376731f56b3
---
 sys/netinet6/in6_pcb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

Reply via email to