Page MenuHomeFreeBSD

netlink: move NETLINK define to opt_global.h
ClosedPublic

Authored by kp on Oct 12 2023, 8:07 PM.
Tags
None
Referenced Files
F159227787: D42179.id128702.diff
Thu, Jun 11, 2:17 PM
Unknown Object (File)
Wed, Jun 10, 7:53 PM
Unknown Object (File)
Wed, Jun 10, 1:43 AM
Unknown Object (File)
Sun, Jun 7, 9:46 PM
Unknown Object (File)
Thu, May 28, 4:07 PM
Unknown Object (File)
Apr 26 2026, 7:36 AM
Unknown Object (File)
Apr 21 2026, 7:58 AM
Unknown Object (File)
Apr 21 2026, 12:54 AM

Details

Summary

Move the NETLINK define into opt_global.h so we can rely on it being
set correctly, without having to remember to include opt_netlink.h.
This ensures that the NETLINK define is correctly set. If not we
may end up with unloadable modules, due to missing symbols (such as
nlmsg_get_group_writer).

PR: 274306
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Oct 12 2023, 8:07 PM
This revision is now accepted and ready to land.Oct 12 2023, 9:06 PM
This revision was automatically updated to reflect the committed changes.