Page MenuHomeFreeBSD

pfctl: Fix printing af-to "to" pool
ClosedPublic

Authored by vegeta_tuxpowered.net on Mar 3 2025, 11:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 6, 2:58 AM
Unknown Object (File)
Sun, Feb 15, 6:23 AM
Unknown Object (File)
Wed, Feb 11, 1:55 AM
Unknown Object (File)
Jan 21 2026, 10:26 PM
Unknown Object (File)
Jan 10 2026, 1:17 PM
Unknown Object (File)
Dec 14 2025, 2:49 AM
Unknown Object (File)
Dec 8 2025, 3:25 AM
Unknown Object (File)
Dec 2 2025, 10:17 AM
Subscribers

Details

Summary

We can't depend on pool->cur, that is used only inside of kernel for
iterating over members of the pool, it is not filled in during loading
of ruleset.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp accepted this revision.EditedMar 3 2025, 2:39 PM

Do you have an example of how this can go wrong?

(Edit: and approved to commit)

This revision is now accepted and ready to land.Mar 3 2025, 2:39 PM