Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144598204
D15019.1775652379.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D15019.1775652379.diff
View Options
Index: sys/kern/uipc_socket.c
===================================================================
--- sys/kern/uipc_socket.c
+++ sys/kern/uipc_socket.c
@@ -2585,7 +2585,7 @@
* both backward-compatibility and POSIX requirements by forcing
* ENOTCONN but still asking protocol to perform pru_shutdown().
*/
- if (so->so_type != SOCK_DGRAM)
+ if (so->so_type != SOCK_DGRAM && !SOLISTENING(so))
return (ENOTCONN);
soerror_enotconn = 1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 12:46 PM (10 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28301872
Default Alt Text
D15019.1775652379.diff (457 B)
Attached To
Mode
D15019: Wakup applications with shutdown on listen sockets
Attached
Detach File
Event Timeline
Log In to Comment