[K42-discussion] Running AIM7 - next bug
Andrew Baumann
andrewb at cse.unsw.edu.au
Sun Sep 18 09:34:57 EST 2005
On Fri, 16 Sep 2005 06:47 am, Bryan S Rosenburg wrote:
> I think I've fixed this problem (after consulting with Maria). At least
> the socket2 program now runs without enabling the K42 kludge.
Thanks Brian and Maria. The fix works for AIM7 as well.
> Presumably we can now get rid of the following FIXME's in the trace
> daemon:
>
> /* FIXME: we shouldn't need to remember the sockaddr for each socket,
> * we should be able to just do the connect below and then forget it,
> * but currently K42 doesn't remember the address used in connect
> * when dealing with datagram sockets */
> traceNetwork[cpu].dest.sin_family = AF_INET;
> traceNetwork[cpu].dest.sin_port = htons(port);
>
> /* FIXME: this shouldn't be needed, since we connect() at init time */
> msghdr.msg_name = &traceNetwork[physProc].dest;
> msghdr.msg_namelen = sizeof(traceNetwork[physProc].dest);
Yes, you should be able to delete that code (and probably the 'dest' member of
that struct).
Andrew
More information about the K42-discussion
mailing list