Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 3:14 AM
Unknown Object (File)
Sun, Feb 9, 3:14 AM
Unknown Object (File)
Sun, Feb 9, 3:14 AM
Unknown Object (File)
Jan 27 2025, 4:58 PM
Unknown Object (File)
Jan 27 2025, 3:06 AM
Unknown Object (File)
Jan 26 2025, 5:55 PM
Unknown Object (File)
Jan 26 2025, 4:23 AM
Unknown Object (File)
Jan 12 2025, 9:52 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