Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177593450
D8371.1794811421.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
844 B
Referenced Files
None
Subscribers
None
D8371.1794811421.diff
View Options
Index: head/sys/netinet/tcp_input.c
===================================================================
--- head/sys/netinet/tcp_input.c
+++ head/sys/netinet/tcp_input.c
@@ -2202,6 +2202,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: head/sys/netinet/tcp_stacks/fastpath.c
===================================================================
--- head/sys/netinet/tcp_stacks/fastpath.c
+++ head/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
Mon, Nov 16, 6:43 AM (14 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41765160
Default Alt Text
D8371.1794811421.diff (844 B)
Attached To
Mode
D8371: Improve handling of TCP RST segments in CLOSING and LAST-ACK state
Attached
Detach File
Event Timeline