]> git.ipfire.org Git - thirdparty/gcc.git/commit
syscall: pass correct pointer to system call in recvmsgRaw
authorIan Lance Taylor <iant@golang.org>
Tue, 1 Jul 2025 04:23:41 +0000 (21:23 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Jul 2025 22:01:25 +0000 (15:01 -0700)
commit284e13279e8c8067f7a0046a7ca8ff7a16398feb
tree7cb14bc3f970ab7e66758af3d2623fd803f372c2
parentac2fb60a67d6d1de6446c25c5623b8a1389f4770
syscall: pass correct pointer to system call in recvmsgRaw

The code in recvmsgRaw, introduced in https://go.dev/cl/384695,
incorrectly passed &rsa to the recvmsg system call.
But in recvmsgRaw rsa is already a pointer passed by the caller.
This change passes the correct pointer.

I'm guessing that this didn't show up in the testsuite because
we run the tests in short mode.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/685177
gcc/go/gofrontend/MERGE
libgo/go/syscall/socket.go