Page MenuHomeFreeBSD

D879.diff
No OneTemporary

D879.diff

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

Mime Type
text/plain
Expires
Thu, Jun 25, 4:35 PM (11 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34325214
Default Alt Text
D879.diff (478 B)

Event Timeline