summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-05-16 12:24:01 +0000
committermpi <mpi@openbsd.org>2017-05-16 12:24:01 +0000
commit66736630cee42b00f38c44e0b154c35b7ac24eca (patch)
tree83ed1b4834be42ab64e887f18456be7d7163f9c2 /sys/netinet/tcp_timer.c
parentRemove list member now that the global list is gone. (diff)
downloadwireguard-openbsd-66736630cee42b00f38c44e0b154c35b7ac24eca.tar.xz
wireguard-openbsd-66736630cee42b00f38c44e0b154c35b7ac24eca.zip
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 72854fa11bd..3d4bc5d0600 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.55 2017/04/19 15:21:54 bluhm Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.56 2017/05/16 12:24:02 mpi Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -129,7 +129,7 @@ tcp_delack(void *arg)
void
tcp_slowtimo(void)
{
- splsoftassert(IPL_SOFTNET);
+ NET_ASSERT_LOCKED();
tcp_maxidle = TCPTV_KEEPCNT * tcp_keepintvl;
tcp_iss += TCP_ISSINCR2/PR_SLOWHZ; /* increment iss */