Page MenuHomeFreeBSD

D26093.diff
No OneTemporary

D26093.diff

Index: head/sys/compat/linux/linux_socket.c
===================================================================
--- head/sys/compat/linux/linux_socket.c
+++ head/sys/compat/linux/linux_socket.c
@@ -1067,7 +1067,7 @@
* FreeBSD system call interface.
*/
if (sa_family != AF_UNIX)
- continue;
+ goto next;
if (cmsg->cmsg_type == SCM_CREDS) {
len = sizeof(struct cmsgcred);
@@ -1094,6 +1094,7 @@
data = (char *)data + CMSG_SPACE(len);
datalen += CMSG_SPACE(len);
+next:
if (clen <= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len))
break;

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 24, 6:10 AM (14 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28969849
Default Alt Text
D26093.diff (576 B)

Event Timeline