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
Unknown Object (File)
Fri, Mar 13, 2:40 AM
Unknown Object (File)
Wed, Mar 11, 8:07 AM
Unknown Object (File)
Wed, Mar 11, 7:21 AM
Unknown Object (File)
Wed, Mar 11, 3:58 AM
Unknown Object (File)
Tue, Mar 10, 1:03 PM
Unknown Object (File)
Wed, Mar 4, 5:15 PM
Unknown Object (File)
Tue, Feb 24, 1:59 AM
Unknown Object (File)
Mon, Feb 16, 11:23 PM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 53952
Build 50842: arc lint + arc unit

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.