diff options
| author | R. Christian McDonald <rcm@FreeBSD.org> | 2026-10-15 18:10:11 +0000 |
|---|---|---|
| committer | R. Christian McDonald <rcm@FreeBSD.org> | 2026-10-15 18:10:11 +0000 |
| commit | f4fe4c3d17f9bb523981b88a01d7c0f0c0f00c36 (patch) | |
| tree | 03a97b5e55ff62d43283499b1c66b9ab5b09ccf4 /contrib/tcpdump/llc.h | |
| parent | d5612784ab931782956d9b106cc0d1c7d4801002 (diff) | |
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: 461648121230 ("pf: introduce source and state limiters")
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D60530
Diffstat (limited to 'contrib/tcpdump/llc.h')
0 files changed, 0 insertions, 0 deletions
