Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2026 11:16:39 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0dbbed21a643 - main - ip6_mroute: Fix the type name in sysctl_mfctable()
Message-ID:  <69ccfe97.4441c.c78ef44@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=0dbbed21a643f6c95bebe23008a332ff68adb203

commit 0dbbed21a643f6c95bebe23008a332ff68adb203
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-04-01 11:13:05 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-04-01 11:16:15 +0000

    ip6_mroute: Fix the type name in sysctl_mfctable()
    
    No functional change since apparently it's fine to compute the size of
    a pointer type when the base type is undefined.
    
    Fixes:  0bb9c2b665d9 ("ip6_mroute: FIBify")
---
 sys/netinet6/ip6_mroute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index 9a7f611b8b4c..8743673fd25a 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -220,7 +220,7 @@ sysctl_mfctable(SYSCTL_HANDLER_ARGS)
 
 	fibnum = curthread->td_proc->p_fibnum;
 	return (SYSCTL_OUT(req, &V_mfctables[fibnum].mfchashtbl,
-	    sizeof(struct mfc6c *) * MF6CTBLSIZ));
+	    sizeof(struct mf6c *) * MF6CTBLSIZ));
 }
 SYSCTL_PROC(_net_inet6_ip6, OID_AUTO, mf6ctable,
     CTLTYPE_OPAQUE | CTLFLAG_RD,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ccfe97.4441c.c78ef44>