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/> References: <bug-274306-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274306 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/Make= file define NETLINK_MODULE. But these parts of netlink_message_writer.h don't really make sense: 84 #if defined(NETLINK) || defined(NETLINK_MODULE)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 85 /* Provide optimized calls to the functions inside the same linking uni= t */ ... 163 #else=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 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 wron= g.=20 I'm not sure what the intent is. Do we want to support loading netlink ker= nel modules even when the kernel is compiled without netlink support? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274306-227-t95PNyMkJ7>