Page MenuHomeFreeBSD

netlink: simplify socket destruction
ClosedPublic

Authored by glebius on Nov 9 2023, 6:29 AM.
Tags
None
Referenced Files
F132121527: D42521.id.diff
Mon, Oct 13, 10:34 PM
F132121526: D42521.id129887.diff
Mon, Oct 13, 10:34 PM
F132121519: D42521.id131895.diff
Mon, Oct 13, 10:34 PM
F132066085: D42521.diff
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 Not Applicable
Unit
Tests Not Applicable