Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157631659
D8371.id22275.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
844 B
Referenced Files
None
Subscribers
None
D8371.id22275.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
Sun, May 24, 2:16 PM (10 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33474080
Default Alt Text
D8371.id22275.diff (844 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