Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
F165355724: D41779.id127108.diff
Fri, Aug 7, 7:41 PM
Unknown Object (File)
Thu, Aug 6, 7:56 AM
Unknown Object (File)
Thu, Aug 6, 2:26 AM
Unknown Object (File)
Wed, Aug 5, 6:14 AM
Unknown Object (File)
Thu, Jul 30, 6:02 PM
Unknown Object (File)
Jun 10 2026, 12:26 AM
Unknown Object (File)
Jun 9 2026, 9:18 AM
Unknown Object (File)
Jun 8 2026, 8:49 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 Not Applicable
Unit
Tests Not Applicable