diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-11-11 18:16:54 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-11-11 18:16:54 +0000 |
| commit | a0bf1601a7cf32e02055b1e30e6778887e0e4ac2 (patch) | |
| tree | b70226231962735dc2d56b58fb3ffd1e10f2367f /sys/netinet/tcp_syncache.c | |
| parent | 801cc576ec10415ba31e5b3628a06e3786e72e8e (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
| -rw-r--r-- | sys/netinet/tcp_syncache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 2cebcec47cf1..822ffeb1573b 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); } /* |
