Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 16:02:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230619] pf: tables use non SMP-friendly counters
Message-ID:  <bug-230619-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230619

            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: bugs@FreeBSD.org
          Reporter: vegeta@tuxpowered.net

Created attachment 196197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196197&action=
=3Dedit
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 count=
ers
happening in lockless manner too.

Proposed patch modifies table counters behaviour. counter(9) facility is us=
ed
and table element counters are always allocated so that race conditions are
impossible now.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230619-227>