summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-12-25 22:49:15 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-12-25 22:49:15 +0000
commit22d0f80d74daad72f0dda3c66718336d770c3952 (patch)
treee7792ff3071aa891b967a6265665656c384a748f
parenta8c91a166ed63eccdc98bb713bf6529adaafa01e (diff)
Notes
-rw-r--r--sys/netinet/tcp_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index f83a96d65a808..fa6d0ab25ccc0 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -280,6 +280,7 @@ tcp_timer_2msl_reset(struct tcptw *tw, int timeo)
struct tcptw *tw_tail;
INP_INFO_WLOCK_ASSERT(&tcbinfo);
+ INP_LOCK_ASSERT(tw->tw_inpcb);
if (tw->tw_time != 0)
LIST_REMOVE(tw, tw_2msl);
tw->tw_time = timeo + ticks;