Page MenuHomeFreeBSD

netlink: allow creating sockets with SOCK_DGRAM.
ClosedPublic

Authored by melifaro on Jan 16 2023, 2:20 PM.
Tags
None
Referenced Files
F153004236: D38075.id115189.diff
Sat, Apr 18, 2:14 PM
F152987263: D38075.diff
Sat, Apr 18, 12:02 PM
F152987229: D38075.diff
Sat, Apr 18, 12:02 PM
F152987170: D38075.diff
Sat, Apr 18, 12:02 PM
Unknown Object (File)
Tue, Mar 24, 11:31 AM
Unknown Object (File)
Tue, Mar 24, 12:42 AM
Unknown Object (File)
Sat, Mar 21, 10:24 PM
Unknown Object (File)
Mar 18 2026, 1:14 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.