Page MenuHomeFreeBSD

netlink: simplify socket destruction
ClosedPublic

Authored by glebius on Nov 9 2023, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 11 2024, 10:47 PM
Unknown Object (File)
Dec 8 2024, 10:48 PM
Unknown Object (File)
Nov 29 2024, 3:19 PM
Unknown Object (File)
Nov 28 2024, 8:19 AM
Unknown Object (File)
Nov 25 2024, 1:44 PM
Unknown Object (File)
Nov 24 2024, 11:12 PM
Unknown Object (File)
Nov 24 2024, 1:01 AM
Unknown Object (File)
Nov 21 2024, 8:33 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54345
Build 51235: arc lint + arc unit