HomeFreeBSD

netlink: allow creating sockets with SOCK_DGRAM.

Description

netlink: allow creating sockets with SOCK_DGRAM.

Some existing applications setup Netlink socket with
SOCK_DGRAM instead of SOCK_RAW. Update the manpage to clarify
that the default way of creating the socket should be with
SOCK_RAW. Update the code to support both SOCK_RAW and SOCK_DGRAM.

Reviewed By: pauamma
Differential Revision: https://reviews.freebsd.org/D38075

Details

Provenance
melifaroAuthored on Jan 21 2023, 2:36 PM
Reviewer
pauamma_gundo.com
Differential Revision
D38075: netlink: allow creating sockets with SOCK_DGRAM.
Parents
rG03a1b75950c9: elf: EF_ARM_EABI_VERSION_UNKNOWN is no longer used, retire
Branches
Unknown
Tags
Unknown