Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 18, 8:44 PM
Unknown Object (File)
Wed, Jun 11, 6:47 PM
Unknown Object (File)
Sat, Jun 7, 1:35 AM
Unknown Object (File)
Jun 1 2025, 11:58 PM
Unknown Object (File)
May 29 2025, 5:00 PM
Unknown Object (File)
May 26 2025, 10:10 AM
Unknown Object (File)
May 22 2025, 4:10 AM
Unknown Object (File)
May 17 2025, 9:18 PM

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