Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 13:13:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274306] The nlsysevent kernel module fails to load.
Message-ID:  <bug-274306-227-t95PNyMkJ7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274306-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274306

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
A quick hack which fixes the problem is to make sys/modules/nlsysevent/Makefile
define NETLINK_MODULE.  But these parts of netlink_message_writer.h don't
really make sense:

 84 #if defined(NETLINK) || defined(NETLINK_MODULE)                             
 85 /* Provide optimized calls to the functions inside the same linking unit */
...
163 #else                                                                       
164 /* Provide access to the functions via netlink_glue.c */

The implementations in netlink_glue.c are just stubs that get defined when the
kernel is compiled without netlink support, so these comments are just wrong. 
I'm not sure what the intent is.  Do we want to support loading netlink kernel
modules even when the kernel is compiled without netlink support?

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274306-227-t95PNyMkJ7>