https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230619
Bug ID: 230619
Summary: pf: tables use non SMP-friendly counters
Product: Base System
Version: 11.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 196197
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196197&action=edit
Use counter(9) in pf tables.
Counters of pf tables are updated out of rule lock. That means state updates
might overwrite eachother. Furthermore there is allocation and freing counters
happening in lockless manner too.
Proposed patch modifies table counters behaviour. counter(9) facility is used
and table element counters are always allocated so that race conditions are
impossible now.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"