[Bug 259380] linux(4): linux_recvfrom(2) fails: linux_recvfrom -1 errno -22 Invalid argument
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259380] linux_recvfrom -1 errno -22 Invalid argument"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 10:55:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259380 --- Comment #9 from Jason Mader <jasonmader@gmail.com> --- Created attachment 229379 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229379&action=edit revert linux_recvfrom() in linux_socket.c After adding some debugging statements into linux_recvfrom(), I found that the error happens here, error = kern_recvit(td, args->s, &msg, UIO_SYSSPACE, NULL); if (error != 0) goto out; The value in error that is returned is: 54 I'm attaching a diff that reverts FreeBSD 12.3-BETA3 linux_socket.c to 12.1 and works for the Linux binaries, though I don't yet understand what the critical difference is to linux_recvfrom(). -- You are receiving this mail because: You are the assignee for the bug.