Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168329576
D24819.id71718.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
592 B
Referenced Files
None
Subscribers
None
D24819.id71718.diff
View Options
Index: sys/kern/uipc_socket.c
===================================================================
--- sys/kern/uipc_socket.c
+++ sys/kern/uipc_socket.c
@@ -1969,8 +1969,9 @@
m = so->so_rcv.sb_mb;
goto dontblock;
}
- if ((so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING)) == 0 &&
- (so->so_proto->pr_flags & PR_CONNREQUIRED)) {
+ if ((so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED |
+ SS_ISDISCONNECTING | SS_ISDISCONNECTED)) == 0 &&
+ (so->so_proto->pr_flags & PR_CONNREQUIRED) != 0) {
SOCKBUF_UNLOCK(&so->so_rcv);
error = ENOTCONN;
goto release;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 3:49 PM (4 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37465471
Default Alt Text
D24819.id71718.diff (592 B)
Attached To
Mode
D24819: Fix spurious ENOTCONN from closed unix domain socket other' side.
Attached
Detach File
Event Timeline
Log In to Comment