Page MenuHomeFreeBSD

pf: deal with tables gaining or losing counters
ClosedPublic

Authored by kp on Feb 1 2022, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 7:59 AM
Unknown Object (File)
Thu, Oct 17, 6:22 AM
Unknown Object (File)
Thu, Oct 17, 4:02 AM
Unknown Object (File)
Oct 15 2024, 9:59 PM
Unknown Object (File)
Oct 15 2024, 5:59 PM
Unknown Object (File)
Oct 13 2024, 4:40 PM
Unknown Object (File)
Oct 11 2024, 12:22 PM
Unknown Object (File)
Oct 10 2024, 1:54 AM

Details

Summary

When we create a table without counters, add an entry and later
re-define the table to have counters we wound up trying to read
non-existent counters.

We now cope with this by attempting to add them if needed, removing them
when they're no longer needed and not trying to read from counters that
are not present.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44227
Build 41115: arc lint + arc unit