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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Mar 2022 16:57:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259380

--- Comment #16 from Dmitry Chagin <dchagin@FreeBSD.org> ---
(In reply to Jason Mader from comment #15)
yes, last call to linux_socket, ie

 69131 rlm      CALL  linux_socket(0x2,0x1,0)
 69131 rlm      RET   linux_socket 4

and 

 35514 rlm      CALL 
linux_recvfrom(0x4,0x85d914,0x6,0x4000,0x861c7c,0x7fffffffddf0)
 35514 rlm      GIO   fd 4 read 6 bytes
       0x0000 0100 b900 fdb7                                                   
                                   |......|

 35514 rlm      RET   linux_recvfrom -1 errno -22 Invalid argument

means that connect-oriented protocol is is used, so msg.msg_namelen is set to
0.
I'll prepare a simple patch soon

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