summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2006-06-18 11:48:03 +0000
committerAndre Oppermann <andre@FreeBSD.org>2006-06-18 11:48:03 +0000
commitbdfbf1e203b4bb9f17d70a4e84ac64ffa7ad6024 (patch)
tree7e388af4918702d1009a434af740d16074def6a7 /sys
parenta0a148de0fbea241bdd5e40b9aa002841cfdae56 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_syncache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 87d865040b10..e849c7f10099 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1347,7 +1347,6 @@ syncookie_lookup(struct in_conninfo *inc, struct tcphdr *th, struct socket *so)
data = (th->th_ack - 1) ^ (th->th_seq - 1); /* remove ISS */
idx = data & SYNCOOKIE_WNDMASK;
- rw_rlock(&(tcp_secret[idx].ts_rwmtx));
SYNCOOKIE_RLOCK(tcp_secret[idx]);
if (tcp_secret[idx].ts_expire < ticks ||
sototcpcb(so)->ts_recent + SYNCOOKIE_TIMEOUT < ticks) {