summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-11-11 18:16:54 +0000
committersam <sam@FreeBSD.org>2003-11-11 18:16:54 +0000
commitcff9b0702db9c78aef2d347888eb6de6085f03ff (patch)
treeb70226231962735dc2d56b58fb3ffd1e10f2367f /sys/netinet/tcp_syncache.c
parentd07df715ebc2896a1ebd5a461fb1f2b20eec084f (diff)
downloadFreeBSD-src-cff9b0702db9c78aef2d347888eb6de6085f03ff.zip
FreeBSD-src-cff9b0702db9c78aef2d347888eb6de6085f03ff.tar.gz
correct typos
Pointed out by: Mike Silbersack
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 2cebcec..822ffeb 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -379,7 +379,7 @@ syncache_timer(xslot)
if (callout_pending(&tcp_syncache.tt_timerq[slot]) ||
!callout_active(&tcp_syncache.tt_timerq[slot])) {
/* XXX can this happen? */
- INP_INFO_WLOCK(&tcbinfo);
+ INP_INFO_WUNLOCK(&tcbinfo);
return;
}
callout_deactivate(&tcp_syncache.tt_timerq[slot]);
@@ -416,7 +416,7 @@ syncache_timer(xslot)
if (nsc != NULL)
callout_reset(&tcp_syncache.tt_timerq[slot],
nsc->sc_rxttime - ticks, syncache_timer, (void *)(slot));
- INP_INFO_WLOCK(&tcbinfo);
+ INP_INFO_WUNLOCK(&tcbinfo);
}
/*
OpenPOWER on IntegriCloud