]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-ukernel-rx-knet-deref-20060126
authorTom Keiser <tkeiser@gmail.com>
Thu, 26 Jan 2006 15:53:36 +0000 (15:53 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 15:53:36 +0000 (15:53 +0000)
FIXES 25927

pass correct parameter to avoid type mismatch

(cherry picked from commit 27c42be1b9dced92f578664d57f2dd92aa21c8a0)

src/rx/UKERNEL/rx_knet.c

index 2727fd173b120ba26c6b561b54b142c05b6be6d6..c7edbd618add40ac64628a4abaccc85d8c2952d2 100644 (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;
 }