Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
F159039258: D41779.id127108.diff
Tue, Jun 9, 9:18 AM
Unknown Object (File)
Mon, Jun 8, 8:49 AM
Unknown Object (File)
Thu, May 14, 1:49 AM
Unknown Object (File)
Apr 29 2026, 5:23 PM
Unknown Object (File)
Apr 28 2026, 8:52 AM
Unknown Object (File)
Apr 27 2026, 9:27 AM
Unknown Object (File)
Apr 24 2026, 7:37 AM
Unknown Object (File)
Apr 21 2026, 6:55 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 Not Applicable
Unit
Tests Not Applicable