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, Apr 24, 1:12 PM
Unknown Object (File)
Mon, Apr 21, 12:28 AM
Unknown Object (File)
Sun, Apr 20, 11:10 AM
Unknown Object (File)
Fri, Apr 11, 11:18 PM
Unknown Object (File)
Tue, Apr 8, 1:47 PM
Unknown Object (File)
Feb 9 2025, 3:14 AM
Unknown Object (File)
Feb 9 2025, 3:14 AM
Unknown Object (File)
Feb 9 2025, 3:14 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