]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-rx-client-keep-keepalives-20080523
authorJeffrey Hutzelman <jhutz@cmu.edu>
Fri, 23 May 2008 15:56:54 +0000 (15:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 23 May 2008 15:56:54 +0000 (15:56 +0000)
LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.

(cherry picked from commit b1549f29a9515de09d4a64bfb28bf5afdfee2615)

src/rx/rx.c

index 1f5b71c288f30c49bd76b2dd208ea93e91afe83b..3f45c04690ae0060dcece0e24f990a7e069cf111 100644 (file)
@@ -2914,6 +2914,7 @@ rxi_ReceivePacket(register struct rx_packet *np, osi_socket socket,
        }
 #endif /* AFS_GLOBAL_RXLOCK_KERNEL */
        rxi_ClearTransmitQueue(call, 0);
+       rxevent_Cancel(call->keepAliveEvent, call, RX_CALL_REFCOUNT_ALIVE);
        break;
     default:
        /* Should not reach here, unless the peer is broken: send an abort