Page MenuHomeFreeBSD

ifnet: Remove if_getamcount()
ClosedPublic

Authored by markj on Tue, Sep 3, 5:00 PM.
Tags
None
Referenced Files
F97265899: D46523.diff
Sat, Sep 28, 9:28 AM
Unknown Object (File)
Thu, Sep 26, 3:21 AM
Unknown Object (File)
Tue, Sep 10, 8:34 PM
Unknown Object (File)
Sat, Sep 7, 5:25 PM
Unknown Object (File)
Sat, Sep 7, 5:25 PM
Unknown Object (File)
Sat, Sep 7, 5:25 PM
Unknown Object (File)
Sat, Sep 7, 5:21 PM
Unknown Object (File)
Sat, Sep 7, 5:16 PM

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