Page MenuHomeFreeBSD

D8371.1794811420.diff
No OneTemporary

Authored By
Unknown
Size
814 B
Referenced Files
None
Subscribers
None

D8371.1794811420.diff

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

Mime Type
text/plain
Expires
Mon, Nov 16, 6:43 AM (14 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41765159
Default Alt Text
D8371.1794811420.diff (814 B)

Event Timeline