/[base]
ViewVC logotype

Revision 345691


Jump to revision: Previous Next
Author: kp
Date: Fri Mar 29 14:34:50 2019 UTC (5 years, 3 months ago)
Changed paths: 3
Log Message:
MFC r345177:

pf :Use counter(9) in pf tables.

The counters of pf tables are updated outside the rule lock. That means state
updates might overwrite each other. Furthermore allocation and
freeing of counters happens outside the lock as well.

Use counter(9) for the counters, and always allocate the counter table
element, so that the race condition cannot happen any more.

PR:		230619
Submitted by:	Kajetan Staszkiewicz <vegeta@tuxpowered.net>


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/sys/net/pfvar.h modified , text changed
Directorystable/11/sys/netpfil/pf/pf_table.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27