Page MenuHomeFreeBSD

pfsync: fix state leak
ClosedPublic

Authored by kp on Sep 8 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 9, 8:10 PM
Unknown Object (File)
Fri, Apr 5, 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
Unknown Object (File)
Oct 28 2023, 9:38 PM
Unknown Object (File)
Sep 10 2023, 1:13 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