git: ec0f6d2f15e4 - stable/15 - ip6_mroute: Remove an unhelpful comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 15:44:36 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=ec0f6d2f15e433bb75b91c2a5ad8b2306b348e68
commit ec0f6d2f15e433bb75b91c2a5ad8b2306b348e68
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-02-02 14:59:20 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-02-16 13:46:57 +0000
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 7e78120791a1..17f502834b2d 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -255,10 +255,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