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:	0bb9c2b665 ("ip6_mroute: FIBify")
This commit is contained in:
Mark Johnston
2026-04-01 07:13:05 -04:00
parent f3c772361f
commit 0dbbed21a6
+1 -1
View File
@@ -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,