Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2021 16:14:26 +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-d8hDbK7k9D@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 #10 from Jason Mader <jasonmader@gmail.com> ---
(In reply to Jason Mader from comment #9)
When in FreeBSD 12.2+ linux_recvfrom() the problem seems to be at,=20

        error =3D bsd_to_linux_sockaddr(sa, &lsa, msg.msg_namelen);

The old bsd_to_linux_sockaddr((struct sockaddr *)PTRIN(args->from)) is
returning 0, but the new bsd_to_linux_sockaddr(sa, &lsa, msg.msg_namelen) is
returning 22.

--=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-d8hDbK7k9D>