Page MenuHomeFreeBSD

pfctl: pfctl_get_astats() doesn't set errno
ClosedPublic

Authored by markj on Jun 16 2026, 2:21 PM.
Tags
None
Referenced Files
F164488795: D57608.diff
Sat, Aug 1, 8:35 AM
Unknown Object (File)
Mon, Jul 27, 10:37 AM
Unknown Object (File)
Sat, Jul 25, 8:13 AM
Unknown Object (File)
Sat, Jul 18, 10:59 AM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Jul 1 2026, 6:16 AM
Unknown Object (File)
Jun 30 2026, 6:12 AM
Subscribers

Details

Summary

After commit 08f54dfca197 pfctl_get_astats() doesn't set errno anymore,
except in one place. Fix up that one place and adjust callers
appropriately.

Fixes: 08f54dfca197 ("pf: convert DIOCRGETASTATS to netlink")

Diff Detail

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