HomeFreeBSD

Add a socket destructor callback. This allows kernel providers to set

Description

Add a socket destructor callback. This allows kernel providers to set
callbacks to perform additional cleanup actions at the time a socket is
closed.

Michio Honda presented a use for this at BSDCan 2018.
(See https://www.bsdcan.org/2018/schedule/events/965.en.html .)

Submitted by: Michio Honda <micchie at sfc.wide.ad.jp> (previous version)
Reviewed by: lstewart (previous version)
Differential Revision: https://reviews.freebsd.org/D15706

Details

Provenance
jtlAuthored on
Reviewer
lstewart
Differential Revision
D15706: socket: introduction of destructor callback
Parents
rS334852: hwpmc: yet another missed fixup
Branches
Unknown
Tags
Unknown