Date: Mon, 13 Aug 2018 00:09:32 +0200 From: Kajetan Staszkiewicz <vegeta@tuxpowered.net> To: freebsd-pf@freebsd.org Subject: pf tables locking Message-ID: <8680316.SccKl5VnxN@energia>
next in thread | raw e-mail | index | archive | help
--nextPart3483859.od8LnuUY3l Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hello group, Can anybody help me iwth pf_table.c and all operations on tables, especially pfr_update_stats? I'm working on implementing stats for redirection targets, that is for nat or route-to. I'm going through the code and I've found out that many table-related function are guarded by lock on pf ruleset. But that is not true for pfr_update_stats. This function is called from pf_test only after PF_RULES_RUNLOCK(). -- | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | | Vegeta | www: http://vegeta.tuxpowered.net | `------------------------^---------------------------------------' --nextPart3483859.od8LnuUY3l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCW3CwHAAKCRDjtFCvbXs6 FG4xAJ4kp++Es3MkSdq4CIYNtrHPQ94x9wCgvlwztRD0C8SydrcgzJt2SlxKgto= =AR0+ -----END PGP SIGNATURE----- --nextPart3483859.od8LnuUY3l--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8680316.SccKl5VnxN>