Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148933543
D43367.1789204433.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
366 B
Referenced Files
None
Subscribers
None
D43367.1789204433.diff
View Options
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -3007,7 +3007,7 @@
pr = so->so_proto;
if (pr->pr_flush != NULL)
pr->pr_flush(so, how);
- if (how != SHUT_WR)
+ if (how != SHUT_WR && !(pr->pr_flags & PR_SOCKBUF))
sorflush(so);
if (how != SHUT_RD) {
error = pr->pr_shutdown(so);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 9:13 AM (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29560926
Default Alt Text
D43367.1789204433.diff (366 B)
Attached To
Mode
D43367: sockets: on shutdown(2) do sorflush() only in case of generic sockbuf
Attached
Detach File
Event Timeline
Log In to Comment