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)
Thu, Oct 9, 6:46 PM
Unknown Object (File)
Sat, Oct 4, 6:55 AM
Unknown Object (File)
Thu, Oct 2, 10:45 PM
Unknown Object (File)
Mon, Sep 29, 11:29 AM
Unknown Object (File)
Tue, Sep 23, 10:55 PM
Unknown Object (File)
Aug 8 2025, 11:07 AM
Unknown Object (File)
Aug 5 2025, 3:55 AM
Unknown Object (File)
Jul 10 2025, 8:58 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