STABLE14-ukernel-rx-knet-deref-20060126

FIXES 25927

pass correct parameter to avoid type mismatch


(cherry picked from commit 27c42be1b9dced92f578664d57f2dd92aa21c8a0)
This commit is contained in:
Tom Keiser 2006-01-26 15:53:36 +00:00 committed by Derrick Brashear
parent 4ab6ab784a
commit 8f56562c95

View File

@ -76,7 +76,7 @@ rxi_ListenerProc(osi_socket usockp, int *tnop, struct rx_call **newcallp)
while (1) {
tp = rxi_AllocPacket(RX_PACKET_CLASS_RECEIVE);
usr_assert(tp != NULL);
rc = rxi_ReadPacket(usockp->sock, tp, &host, &port);
rc = rxi_ReadPacket(usockp, tp, &host, &port);
if (rc != 0) {
tp = rxi_ReceivePacket(tp, usockp, host, port, tnop, newcallp);
if (newcallp && *newcallp) {
@ -335,7 +335,7 @@ rxi_Recvmsg(int socket, struct msghdr *msg_p, int flags)
{
int ret;
do {
ret = recvmsg(socket, msg_p, flags);
ret = recvmsg(socket->sock, msg_p, flags);
} while (ret == -1 && errno == EAGAIN);
return ret;
}