Page MenuHomeFreeBSD

ifnet: Remove if_getamcount()
ClosedPublic

Authored by markj on Sep 3 2024, 5:00 PM.
Tags
None
Referenced Files
F102728086: D46523.id142822.diff
Sat, Nov 16, 10:56 AM
F102727936: D46523.id142857.diff
Sat, Nov 16, 10:52 AM
Unknown Object (File)
Fri, Nov 8, 2:50 AM
Unknown Object (File)
Wed, Oct 30, 3:23 AM
Unknown Object (File)
Sat, Oct 26, 2:51 PM
Unknown Object (File)
Wed, Oct 23, 8:55 PM
Unknown Object (File)
Wed, Oct 23, 4:02 AM
Unknown Object (File)
Tue, Oct 22, 8:38 AM

Details

Summary

All uses of this function were incorrect. if_amcount is a reference
count which tracks the number of times the network stack internally set
IFF_ALLMULTI. (if_pcount is the corresponding counter for IFF_PROMISC.)

Remove if_getamcount() and fix up callers to get the number of assigned
multicast addresses instead, since that's what they actually want.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59293
Build 56180: arc lint + arc unit