diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2004-11-23 17:21:30 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2004-11-23 17:21:30 +0000 |
| commit | cce83ffb5a508b414d0b2d5f23d2b2cf13d51e0f (patch) | |
| tree | 3ce39c4cb642096bc4f16bb881a2f0e32e4e0a8e /sys/netinet/tcp_input.c | |
| parent | b42ff86e73b29af279e4b4618441bd366d3b63f7 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
| -rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 0a76701e4831..0dc3e897a8b5 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -3062,6 +3062,10 @@ tcp_timewait(tw, to, th, m, tlen) const int isipv6 = 0; #endif + /* tcbinfo lock required for tcp_twclose(), tcp_2msl_reset. */ + INP_INFO_WLOCK_ASSERT(&tcbinfo); + INP_LOCK_ASSERT(tw->tw_inpcb); + thflags = th->th_flags; /* |
