Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 9 2024, 2:02 AM
Unknown Object (File)
Nov 12 2024, 4:19 PM
Unknown Object (File)
Oct 7 2024, 4:48 AM
Unknown Object (File)
Oct 6 2024, 6:01 PM
Unknown Object (File)
Sep 27 2024, 5:14 PM
Unknown Object (File)
Sep 25 2024, 5:24 PM
Unknown Object (File)
Sep 25 2024, 3:11 PM
Unknown Object (File)
Sep 24 2024, 10:22 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