[Bug 274306] The nlsysevent kernel module fails to load.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Oct 2023 07:25:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274306

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ab393e9548f8cc0ee28499c411963b798ebb38a5

commit ab393e9548f8cc0ee28499c411963b798ebb38a5
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-10-12 19:55:57 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-10-13 07:23:47 +0000

    netlink: move NETLINK define to opt_global.h

    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
    Reviewed by:    imp, markj
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D42179

 sys/compat/linux/linux_netlink.c                        | 1 -
 sys/conf/options                                        | 2 +-
 sys/modules/carp/Makefile                               | 2 +-
 sys/modules/ktest/ktest/Makefile                        | 1 -
 sys/modules/ktest/ktest_example/Makefile                | 1 -
 sys/modules/ktest/ktest_netlink_message_writer/Makefile | 1 -
 sys/modules/linux/Makefile                              | 3 +--
 sys/modules/linux_common/Makefile                       | 3 +--
 sys/modules/netlink/Makefile                            | 2 +-
 sys/net/if_clone.c                                      | 2 --
 sys/net/if_vlan.c                                       | 1 -
 sys/netinet/ip_carp.c                                   | 2 --
 sys/netlink/ktest_netlink_message_writer.c              | 2 --
 sys/netlink/netlink_domain.c                            | 1 -
 sys/netlink/netlink_generic.c                           | 2 --
 sys/netlink/netlink_glue.c                              | 2 --
 sys/netlink/netlink_io.c                                | 2 --
 sys/netlink/netlink_message_writer.c                    | 2 --
 sys/netlink/netlink_module.c                            | 2 --
 sys/netlink/route/iface.c                               | 2 --
 sys/netlink/route/iface_drivers.c                       | 1 -
 sys/netlink/route/neigh.c                               | 2 --
 sys/netlink/route/nexthop.c                             | 2 --
 sys/netlink/route/rt.c                                  | 2 --
 sys/netpfil/pf/pf_nl.c                                  | 2 --
 sys/tests/ktest.c                                       | 2 --
 26 files changed, 5 insertions(+), 42 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.