aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-06-22 14:01:31 +0000
committerMark Johnston <markj@FreeBSD.org>2020-06-22 14:01:31 +0000
commite6db509d106979c71f862f78ecf4319a3ee5e1e8 (patch)
tree2af245975c99aebb3f57e07d5a19cbcc05244f3e /sys/netinet/sctp_pcb.c
parent9f763f0092b21ff5573185931b729b504fc33dde (diff)
downloadsrc-e6db509d106979c71f862f78ecf4319a3ee5e1e8.tar.gz
src-e6db509d106979c71f862f78ecf4319a3ee5e1e8.zip
Move the definition of SCTP's system_base_info into sctp_crc32.c.
This file is the only SCTP source file compiled into the kernel when SCTP_SUPPORT is configured. sctp_delayed_checksum() references a couple of counters defined in system_base_info, so the change allows these counters to be referenced in a kernel compiled without "options SCTP". Submitted by: tuexen MFC with: r362338
Notes
Notes: svn path=/head/; revision=362497
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 10afa8677eee..f20e15e8c84c 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -57,8 +57,6 @@ __FBSDID("$FreeBSD$");
#include <sys/smp.h>
#include <sys/unistd.h>
-VNET_DEFINE(struct sctp_base_info, system_base_info);
-
/* FIX: we don't handle multiple link local scopes */
/* "scopeless" replacement IN6_ARE_ADDR_EQUAL */
#ifdef INET6