summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-09-03 22:11:10 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-09-03 22:11:10 +0000
commit41377f6c1a23cabe8ffd4a669675e15f7afb4eba (patch)
tree319bdf681b58670f288470f9a44c67579e77b434 /sys/netinet/tcp_subr.c
parent5babfd70f33a58aa8aba0d9eeeb12bbd06d78831 (diff)
Initialize TCP mutex forgotten in previous commit.
found by Hrvoje Popovski with witness; OK mvs@
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index e1da481895d..e79aa0ff2f2 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.187 2022/09/03 19:22:19 bluhm Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.188 2022/09/03 22:11:09 bluhm Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -105,7 +105,7 @@
* T tcp_timer_mtx global tcp timer data structures
*/
-struct mutex tcp_timer_mtx;
+struct mutex tcp_timer_mtx = MUTEX_INITIALIZER(IPL_SOFTNET);
/* patchable/settable parameters for tcp */
int tcp_mssdflt = TCP_MSS;