Module Name: src Committed By: martin Date: Sun Dec 10 13:06:16 UTC 2023
Modified Files: src/sys/compat/common [netbsd-10]: compat_90_mod.c compat_mod.h files.common src/sys/kern [netbsd-10]: compat_stub.c src/sys/modules/compat_90 [netbsd-10]: Makefile src/sys/netinet6 [netbsd-10]: icmp6.c in6.c nd6.c src/sys/sys [netbsd-10]: compat_stub.h Added Files: src/sys/compat/common [netbsd-10]: net_inet6_nd_90.c Log Message: Pull up following revision(s) (requested by pgoyette in ticket #487): sys/compat/common/compat_90_mod.c: revision 1.5 sys/compat/common/compat_90_mod.c: revision 1.6 sys/netinet6/in6.c: revision 1.290 sys/netinet6/in6.c: revision 1.291 sys/compat/common/files.common: revision 1.11 sys/netinet6/icmp6.c: revision 1.255 sys/compat/common/net_inet6_nd_90.c: revision 1.1 sys/compat/common/net_inet6_nd_90.c: revision 1.2 sys/modules/compat_90/Makefile: revision 1.2 sys/modules/compat_90/Makefile: revision 1.3 sys/netinet6/nd6.c: revision 1.281 sys/compat/common/compat_mod.h: revision 1.10 sys/kern/compat_stub.c: revision 1.23 sys/sys/compat_stub.h: revision 1.27 Identify the need to rework the COMPAT_* code to be more module-aware. This is an XXX comment block only, NFCI. Modularize the COMPAT_90 code that resulted from the removal of netinet6/nd6 from the kernel. Now, the minimal compat code can be successfully loaded and unloaded along with the rest of the COMPAT_90 code. Allow kernels builds which don't define INET6 to compile compat bits too. Default the build of compat_90 module to include IPv6, as is done for other INET6-sensitive modules (see if_lagg). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.28.1 src/sys/compat/common/compat_90_mod.c cvs rdiff -u -r1.6 -r1.6.26.1 src/sys/compat/common/compat_mod.h cvs rdiff -u -r1.7 -r1.7.4.1 src/sys/compat/common/files.common cvs rdiff -u -r0 -r1.2.2.2 src/sys/compat/common/net_inet6_nd_90.c cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/kern/compat_stub.c cvs rdiff -u -r1.1 -r1.1.28.1 src/sys/modules/compat_90/Makefile cvs rdiff -u -r1.254 -r1.254.2.1 src/sys/netinet6/icmp6.c cvs rdiff -u -r1.288.2.1 -r1.288.2.2 src/sys/netinet6/in6.c cvs rdiff -u -r1.279 -r1.279.4.1 src/sys/netinet6/nd6.c cvs rdiff -u -r1.25 -r1.25.18.1 src/sys/sys/compat_stub.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.