Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144644163
D48710.1775995081.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
679 B
Referenced Files
None
Subscribers
None
D48710.1775995081.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1354,15 +1354,6 @@
* Only the listen socket is unlocked by syncache_add().
*/
return (IPPROTO_DONE);
- } else if (tp->t_state == TCPS_LISTEN) {
- /*
- * When a listen socket is torn down the SO_ACCEPTCONN
- * flag is removed first while connections are drained
- * from the accept queue in a unlock/lock cycle of the
- * ACCEPT_LOCK, opening a race condition allowing a SYN
- * attempt go through unhandled.
- */
- goto dropunlock;
}
#if defined(IPSEC_SUPPORT) || defined(TCP_SIGNATURE)
if (tp->t_flags & TF_SIGNATURE) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 11:58 AM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28330985
Default Alt Text
D48710.1775995081.diff (679 B)
Attached To
Mode
D48710: tcp: remove check for condition that never happens
Attached
Detach File
Event Timeline
Log In to Comment