https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230619

--- Comment #8 from commit-h...@freebsd.org ---
A commit references this bug:

Author: kp
Date: Fri Mar 15 11:08:45 UTC 2019
New revision: 345177
URL: https://svnweb.freebsd.org/changeset/base/345177

Log:
  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 <veg...@tuxpowered.net>
  Reviewed by:  glebius
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D19558

Changes:
  head/sys/net/pfvar.h
  head/sys/netpfil/pf/pf_table.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"

Reply via email to