1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00
freebsd/sys/netpfil
Kristof Provost 83641335f9 pf: clean up pflow sockets on jail removal
pflow opens sockets in the kernel to transmit netflow information.
If this is done in a (vnet) jail these sockets end up preventing the removal of
the jail. The VNET_SYSUNINIT() vnet_pflowdetach() function doesn't get called,
but that's the function that would remove the sockets.

Install a callback on the PR_METHOD_REMOVE jail callback and close the sockets
there. This ensures that the jail can get cleaned up.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D47545
2024-11-18 11:06:46 +01:00
..
ipfilter/netinet ipfilter: Remove dead code from "Virtualize ipfilter" 2024-11-12 13:58:59 -08:00
ipfw dummynet: fix pie 2024-09-06 12:34:33 -06:00
pf pf: clean up pflow sockets on jail removal 2024-11-18 11:06:46 +01:00