Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107103989
D44640.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
465 B
Referenced Files
None
Subscribers
None
D44640.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
@@ -922,6 +922,10 @@
so->so_snd.sb_timeo = head->so_snd.sb_timeo;
so->so_rcv.sb_flags |= head->so_rcv.sb_flags & SB_AUTOSIZE;
so->so_snd.sb_flags |= head->so_snd.sb_flags & SB_AUTOSIZE;
+ if ((so->so_proto->pr_flags & PR_SOCKBUF) == 0) {
+ so->so_snd.sb_mtx = &so->so_snd_mtx;
+ so->so_rcv.sb_mtx = &so->so_rcv_mtx;
+ }
soref(so);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 4:22 AM (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15750069
Default Alt Text
D44640.diff (465 B)
Attached To
Mode
D44640: uipc_socket: handle socket buffer locks in sopeeloff
Attached
Detach File
Event Timeline
Log In to Comment