Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jul 2026 05:46:37 +0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6b75f8ff5e1b - main - inpcb: use correct mask in in6_pcblookup_lbgroup()
Message-ID:  <6a44a9bd.1d59c.4bdfac4e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by glebius:

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

commit 6b75f8ff5e1b0d7ac7d576c1723d734681247fbf
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-07-01 05:40:22 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
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:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a44a9bd.1d59c.4bdfac4e>