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, Oct 18, 3:22 AM
Unknown Object (File)
Tue, Oct 14, 12:34 PM
Unknown Object (File)
Sat, Oct 11, 4:08 AM
Unknown Object (File)
Sat, Oct 11, 4:08 AM
Unknown Object (File)
Sat, Oct 11, 4:08 AM
Unknown Object (File)
Fri, Oct 10, 9:08 PM
Unknown Object (File)
Mon, Sep 29, 12:05 AM
Unknown Object (File)
Sep 6 2025, 10:21 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