Closed fabxc closed 3 weeks ago
cmsg is not supported in older kernels, it'll work in newer ones.
Slightly related, is the support in 5.4 missing sockets completely? readv
/writev
return EINVAL
with 5.4 too.
Slightly related, is the support in 5.4 missing sockets completely?
readv
/writev
returnEINVAL
with 5.4 too.
No, it should work, I think, at least I don't remember any restriction like that
Slightly related, is the support in 5.4 missing sockets completely?
readv
/writev
returnEINVAL
with 5.4 too.No, it should work, I think, at least I don't remember any restriction like that
Verified that it does work.
I am trying to use
io_uring_prep_recvmsg
. I set up thestruct msghdr
correctly but always get anEINVAL
return code.Excerpt from my setup:
If I replace the last line with a plain
recvmsg
call it works as expected. If I leavemsg_control
andmsg_controllen
unset, it also works withio_uring_prep_recvmsg
.My kernel version is 5.4. Are there any known limitations around this?