Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
F83977632: D41779.id127108.diff
Fri, May 17, 5:23 PM
Unknown Object (File)
Thu, May 9, 8:52 PM
Unknown Object (File)
Apr 9 2024, 8:10 PM
Unknown Object (File)
Apr 5 2024, 1:18 PM
Unknown Object (File)
Feb 24 2024, 11:18 AM
Unknown Object (File)
Dec 20 2023, 4:26 AM
Unknown Object (File)
Dec 20 2023, 3:36 AM
Unknown Object (File)
Dec 10 2023, 8:23 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