HomeFreeBSD

netlink: simplify socket destruction

Description

netlink: simplify socket destruction

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.

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D42521

Details

Provenance
glebiusAuthored on Dec 27 2023, 4:22 AM
Reviewer
melifaro
Differential Revision
D42521: netlink: simplify socket destruction
Parents
rGf27aff8f7f4f: linux/netlink: don't override sopt level
Branches
Unknown
Tags
Unknown