Page MenuHomeFreeBSD

pf: Fully remove interrupt events on vnet cleanup
ClosedPublic

Authored by kp on Mar 10 2021, 11:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 12:03 AM
Unknown Object (File)
Sun, Apr 20, 12:37 PM
Unknown Object (File)
Sun, Apr 20, 12:12 AM
Unknown Object (File)
Sat, Apr 19, 2:18 PM
Unknown Object (File)
Sat, Apr 19, 1:26 PM
Unknown Object (File)
Sat, Apr 19, 1:13 PM
Unknown Object (File)
Sat, Apr 19, 1:11 PM
Unknown Object (File)
Sat, Apr 19, 1:05 PM

Details

Summary

swi_remove() removes the software interrupt handler but does not remove
the associated interrupt event.
This is visible when creating and remove a vnet jail in `procstat -t
12`.

We can remove it manually with intr_event_destroy().

PR: 254171

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable