Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102976480
D879.id1969.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
D879.id1969.diff
View Options
Index: head/sys/netinet/tcp_usrreq.c
===================================================================
--- head/sys/netinet/tcp_usrreq.c
+++ head/sys/netinet/tcp_usrreq.c
@@ -592,7 +592,9 @@
inp = sotoinpcb(so);
KASSERT(inp != NULL, ("tcp_usr_disconnect: inp == NULL"));
INP_WLOCK(inp);
- if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) {
+ if (inp->inp_flags & INP_TIMEWAIT)
+ goto out;
+ if (inp->inp_flags & INP_DROPPED) {
error = ECONNRESET;
goto out;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 9:48 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14735306
Default Alt Text
D879.id1969.diff (478 B)
Attached To
Mode
D879: A connection in TIME_WAIT state before calling close() did not actually received any RST. Do not set error to ECONNRESET in this case then.
Attached
Detach File
Event Timeline
Log In to Comment