Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 1:49 AM
Unknown Object (File)
Wed, Apr 29, 5:23 PM
Unknown Object (File)
Tue, Apr 28, 8:52 AM
Unknown Object (File)
Mon, Apr 27, 9:27 AM
Unknown Object (File)
Apr 24 2026, 7:37 AM
Unknown Object (File)
Apr 21 2026, 6:55 PM
Unknown Object (File)
Apr 21 2026, 12:44 AM
Unknown Object (File)
Apr 19 2026, 8:17 AM

Details

Summary

If we receive a state with a route-to interface name set and we can't
find the interface we do not insert the state. However, in that case we
must still clean up the state (and state keys).
Do so, so we do not leak states.

MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53500
Build 50391: arc lint + arc unit