Page MenuHomeFreeBSD

Update the socket destructor to run in sofree()
ClosedPublic

Authored by jtl on Oct 16 2018, 5:29 PM.
Tags
None
Referenced Files
F102923621: D17590.diff
Mon, Nov 18, 7:22 PM
Unknown Object (File)
Oct 18 2024, 9:17 AM
Unknown Object (File)
Oct 18 2024, 9:17 AM
Unknown Object (File)
Oct 18 2024, 9:17 AM
Unknown Object (File)
Oct 18 2024, 8:58 AM
Unknown Object (File)
Sep 18 2024, 1:46 PM
Unknown Object (File)
Sep 18 2024, 1:14 AM
Unknown Object (File)
Sep 17 2024, 5:59 AM
Subscribers

Details

Summary

As @rwatson mentioned in D15706, a "socket destructor" should actuall run when the socket is destroyed.

Update the socket destructor functionality to run when a socket is destroyed (rather than when it is closed). The original submitter has confirmed that this change satisfies the intended use case.

Test Plan

Tested by original requester.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Oct 18 2018, 2:20 PM
This revision was automatically updated to reflect the committed changes.