The branch main has been updated by markj:

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

commit a45fb94801dffd414bdb1981def0e977ef0c774f
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-02-02 14:59:20 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-02-02 16:54:54 +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.
---
 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 d64c2f641e24..5706c12fc5e4 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -254,10 +254,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

Reply via email to