Date: Tue, 09 Nov 2021 10:55:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259380] linux(4): linux_recvfrom(2) fails: linux_recvfrom -1 errno -22 Invalid argument Message-ID: <bug-259380-227-mKUPFzF4ga@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259380-227@https.bugs.freebsd.org/bugzilla/> References: <bug-259380-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259380 --- Comment #9 from Jason Mader <jasonmader@gmail.com> --- Created attachment 229379 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229379&action= =3Dedit revert linux_recvfrom() in linux_socket.c After adding some debugging statements into linux_recvfrom(), I found that = the error happens here, error =3D kern_recvit(td, args->s, &msg, UIO_SYSSPACE, NULL); if (error !=3D 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 critic= al difference is to linux_recvfrom(). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259380-227-mKUPFzF4ga>