https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259380

--- Comment #13 from Jason Mader <[email protected]> ---
(In reply to Edward Tomasz Napierala from comment #12)
I changed linux_socket.c linux_recvfrom() from,

        if (PTRIN(args->from) != NULL) {
                error = linux_copyout_sockaddr(sa, PTRIN(args->from),
msg.msg_namelen);

to,
        if (PTRIN(args->from) != NULL) {
                printf("msg_namelen: %d, fromlen: %d\n", msg.msg_namelen,
fromlen);
                error = linux_copyout_sockaddr(sa, PTRIN(args->from), fromlen);
        }

And got,

linux: jid 1 pid 77110 (rlmutil): unsupported socket(AF_NETLINK, 3,
NETLINK_ROUTE)
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28
msg_namelen: 0, fromlen: 28

None of the other clients connecting to their servers do "(PTRIN(args->from) !=
NULL)" though, so there is no output, and why they are all working without the
workaround.

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

Reply via email to