[Bug 259380] linux(4): linux_recvfrom(2) fails: linux_recvfrom -1 errno -22 Invalid argument

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Nov 2021 16:14:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259380

--- 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, 

        error = 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.