Page MenuHomeFreeBSD

D15019.id41292.diff
No OneTemporary

D15019.id41292.diff

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

Mime Type
text/plain
Expires
Thu, Mar 19, 12:35 AM (6 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29935149
Default Alt Text
D15019.id41292.diff (457 B)

Event Timeline