From: bluhm Date: Sat, 3 Sep 2022 22:11:09 +0000 (+0000) Subject: Initialize TCP mutex forgotten in previous commit. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a300f670c8e17f72646e4eaedfbfeb3ce01a295f;p=openbsd Initialize TCP mutex forgotten in previous commit. found by Hrvoje Popovski with witness; OK mvs@ --- 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;