Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167272413
D8371.id21757.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
814 B
Referenced Files
None
Subscribers
None
D8371.id21757.diff
View Options
Index: sys/netinet/tcp_input.c
===================================================================
--- sys/netinet/tcp_input.c
+++ sys/netinet/tcp_input.c
@@ -2201,6 +2201,8 @@
case TCPS_FIN_WAIT_1:
case TCPS_FIN_WAIT_2:
case TCPS_CLOSE_WAIT:
+ case TCPS_CLOSING:
+ case TCPS_LAST_ACK:
so->so_error = ECONNRESET;
close:
tcp_state_change(tp, TCPS_CLOSED);
Index: sys/netinet/tcp_stacks/fastpath.c
===================================================================
--- sys/netinet/tcp_stacks/fastpath.c
+++ sys/netinet/tcp_stacks/fastpath.c
@@ -746,6 +746,8 @@
case TCPS_FIN_WAIT_1:
case TCPS_FIN_WAIT_2:
case TCPS_CLOSE_WAIT:
+ case TCPS_CLOSING:
+ case TCPS_LAST_ACK:
so->so_error = ECONNRESET;
close:
tcp_state_change(tp, TCPS_CLOSED);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 21, 1:46 PM (11 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37006666
Default Alt Text
D8371.id21757.diff (814 B)
Attached To
Mode
D8371: Improve handling of TCP RST segments in CLOSING and LAST-ACK state
Attached
Detach File
Event Timeline
Log In to Comment