Page MenuHomeFreeBSD

netlink: simplify socket destruction
ClosedPublic

Authored by glebius on Nov 9 2023, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 10:34 PM
Unknown Object (File)
Mon, Oct 13, 10:34 PM
Unknown Object (File)
Mon, Oct 13, 10:34 PM
Unknown Object (File)
Mon, Oct 13, 8:54 AM
Unknown Object (File)
Sun, Sep 28, 10:52 PM
Unknown Object (File)
Sun, Sep 28, 8:04 AM
Unknown Object (File)
Aug 28 2025, 1:15 PM
Unknown Object (File)
Aug 26 2025, 11:23 AM
Subscribers

Details

Summary

Destroy the socket at the file descriptor close(2). There is no
reason to linger for any longer, there are no external references.
Remove pr_detach method as nothing left to do after pr_close.
Remove pr_abort method as it shall never be executed for this type
of socket.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54345
Build 51235: arc lint + arc unit