Files
freebsd/tests/sys
R. Christian McDonald f4fe4c3d17 pf: Remove a table entry regardless of its mark
pfr_remove_kentry() returns without removing an entry whose mark is
set.  The mark is scratch space for the operations that handle a list
of addresses: each resets it before use and leaves it set on the
entries it kept, so after "pfctl -T replace" or "pfctl -T zero" of an
address the entry stays marked.  An address a source limiter put in
its table is then never taken out again when the source falls below
the low-water mark.

Remove the entry whether it is marked or not; nothing else is in the
work queue.

Add a regression test.

Reviewed by:		kp
Fixes:			4616481212 ("pf: introduce source and state limiters")
Sponsored by:		Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D60530
2026-10-15 14:10:11 -04:00
..
2026-04-20 16:50:01 +00:00
…
2026-07-08 09:23:17 +02:00
…
…
2026-10-15 06:16:16 -06:00
2026-08-25 15:46:24 +00:00
2026-07-30 21:26:25 +03:30
2026-05-30 01:16:51 +00:00
…
…