aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2026-01-19 20:38:37 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2026-01-19 20:38:37 +0000
commit68a449f09e2a38def9df822d42f91ecd2f27b0e2 (patch)
tree0123a750df0910c4e011fcbf78ed05ffe497ca8b
parentc0898bdc8661842c51fecfe467a1c921a2d81774 (diff)
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. MFC after: 3 days
-rw-r--r--sys/modules/sctp/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/modules/sctp/Makefile b/sys/modules/sctp/Makefile
index 626f195dbf1f..4b47e1e63478 100644
--- a/sys/modules/sctp/Makefile
+++ b/sys/modules/sctp/Makefile
@@ -6,7 +6,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 \