Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 7, 3:23 AM
Unknown Object (File)
Dec 25 2025, 12:11 AM
Unknown Object (File)
Dec 23 2025, 11:43 AM
Unknown Object (File)
Dec 10 2025, 6:19 PM
Unknown Object (File)
Dec 10 2025, 3:04 PM
Unknown Object (File)
Nov 24 2025, 10:22 PM
Unknown Object (File)
Nov 21 2025, 2:25 AM
Unknown Object (File)
Nov 18 2025, 12:33 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