Date: Wed, 21 Jan 2026 15:22:11 +0000 From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ae83ce2e7ada - stable/14 - sctp: improve compilation as module Message-ID: <6970ef23.31bd2.4f4721c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=ae83ce2e7ada37a5362da621ba9c6c09e75a2c68 commit ae83ce2e7ada37a5362da621ba9c6c09e75a2c68 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2026-01-19 20:38:37 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2026-01-21 15:20:01 +0000 sctp: improve compilation as module When compiling SCTP as a module, don't compile sctp_crc32.c into the module. This avoids code and variable duplication since sctp_crc32.c is compiled into the kernel. In particular, the variable system_base_info is not duplicated. This fixes the handling of the statistic counters sctps_sendhwcrc and sctps_sendswcrc when using sctp_delayed_cksum. (cherry picked from commit 68a449f09e2a38def9df822d42f91ecd2f27b0e2) --- sys/modules/sctp/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/modules/sctp/Makefile b/sys/modules/sctp/Makefile index 4e91d7572ab0..86fc166eb91e 100644 --- a/sys/modules/sctp/Makefile +++ b/sys/modules/sctp/Makefile @@ -7,7 +7,6 @@ SRCS= sctp_asconf.c \ sctp_auth.c \ sctp_bsd_addr.c \ sctp_cc_functions.c \ - sctp_crc32.c \ sctp_indata.c \ sctp_input.c \ sctp_kdtrace.c \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6970ef23.31bd2.4f4721c>
