Page MenuHomeFreeBSD

netlink: allow creating sockets with SOCK_DGRAM.
ClosedPublic

Authored by melifaro on Jan 16 2023, 2:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 18, 1:14 PM
Unknown Object (File)
Sat, Mar 14, 3:03 PM
Unknown Object (File)
Jan 31 2026, 3:00 AM
Unknown Object (File)
Jan 25 2026, 11:39 PM
Unknown Object (File)
Jan 25 2026, 10:39 PM
Unknown Object (File)
Jan 25 2026, 2:05 PM
Unknown Object (File)
Dec 20 2025, 9:42 AM
Unknown Object (File)
Dec 13 2025, 10:13 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49134
Build 46023: arc lint + arc unit

Event Timeline

Manual page change LGTM. Can't attest to consistency with source code.

This revision is now accepted and ready to land.Jan 19 2023, 1:15 PM
This revision was landed with ongoing or failed builds.Jan 21 2023, 3:00 PM
This revision was automatically updated to reflect the committed changes.