Page MenuHomeFreeBSD

netlink: simplify socket destruction
ClosedPublic

Authored by glebius on Nov 9 2023, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 26, 5:16 AM
Unknown Object (File)
Sun, Oct 26, 4:22 AM
Unknown Object (File)
Fri, Oct 24, 8:47 PM
Unknown Object (File)
Oct 13 2025, 10:34 PM
Unknown Object (File)
Oct 13 2025, 10:34 PM
Unknown Object (File)
Oct 13 2025, 10:34 PM
Unknown Object (File)
Oct 13 2025, 8:54 AM
Unknown Object (File)
Sep 28 2025, 10:52 PM
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