Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154517749
D37610.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
438 B
Referenced Files
None
Subscribers
None
D37610.id.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
@@ -1313,9 +1313,10 @@
*lsop = syncache_socket(sc, *lsop, m);
- if (*lsop == NULL)
+ if (__predict_false(*lsop == NULL)) {
TCPSTAT_INC(tcps_sc_aborted);
- else
+ TCPSTATES_DEC(TCPS_SYN_RECEIVED);
+ } else
TCPSTAT_INC(tcps_sc_completed);
/* how do we find the inp for the new socket? */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 7:40 PM (15 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32383994
Default Alt Text
D37610.id.diff (438 B)
Attached To
Mode
D37610: tcp: fix counter leak for SYN_RCVD state when syncache_socket() fails
Attached
Detach File
Event Timeline
Log In to Comment