Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115855818
D46410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
503 B
Referenced Files
None
Subscribers
None
D46410.diff
View Options
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1720,9 +1720,7 @@
* Do a standard 3-way handshake.
*/
if (syncache_respond(sc, m, TH_SYN|TH_ACK) == 0) {
- if (V_tcp_syncookies && V_tcp_syncookiesonly && sc != &scs)
- syncache_free(sc);
- else if (sc != &scs)
+ if (sc != &scs)
syncache_insert(sc, sch); /* locks and unlocks sch */
TCPSTAT_INC(tcps_sndacks);
TCPSTAT_INC(tcps_sndtotal);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 3:04 PM (9 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17859957
Default Alt Text
D46410.diff (503 B)
Attached To
Mode
D46410: tcp: improve consistency of SYN-cache handling
Attached
Detach File
Event Timeline
Log In to Comment