From b2d3c64f88cf2b85f41d4f494d051a80bde0e46d Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 2 Feb 2026 14:59:20 +0000 Subject: [PATCH] ip6_mroute: Remove an unhelpful comment ifnets already track if_allmulti() calls in the if_amcount field. That field is older than the comment, so I'm not exactly sure what the intent was; let's just remove it. MFC after: 2 weeks Sponsored by: Stormshield Sponsored by: Klara, Inc. (cherry picked from commit a45fb94801dffd414bdb1981def0e977ef0c774f) --- sys/netinet6/ip6_mroute.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 86b65fbbd04..2f5b95f715b 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -257,10 +257,6 @@ static void expire_upcalls(void *); #define EXPIRE_TIMEOUT (hz / 4) /* 4x / second */ #define UPCALL_EXPIRE 6 /* number of timeouts */ -/* - * XXX TODO: maintain a count to if_allmulti() calls in struct ifnet. - */ - /* * 'Interfaces' associated with decapsulator (so we can tell * packets that went through it from ones that get reflected