Date: Sun, 03 May 2026 23:52:02 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 75f5bae7a35f - stable/15 - ip6_mroute: Fix the type name in sysctl_mfctable() Message-ID: <69f7dfa2.26efb.6310f7dc@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=75f5bae7a35f69bde15f0a5008a3920ffcbc459a commit 75f5bae7a35f69bde15f0a5008a3920ffcbc459a Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2026-04-01 11:13:05 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-05-03 23:10:43 +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") (cherry picked from commit 0dbbed21a643f6c95bebe23008a332ff68adb203) --- 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 c760d9d3ab2c..ed78e40ea60a 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -221,7 +221,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?69f7dfa2.26efb.6310f7dc>
